feat: Refactor code structure and optimize performance across multiple modules
This commit is contained in:
19
mobile-apps/client-app/release_prod.sh
Executable file
19
mobile-apps/client-app/release_prod.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
|
||||
cd android
|
||||
fastlane android release_prod
|
||||
cd ../ios
|
||||
fastlane ios release_prod
|
||||
cd ..
|
||||
|
||||
|
||||
VERSION_LINE=$(grep '^version:' pubspec.yaml | head -n 1)
|
||||
VERSION=$(echo "$VERSION_LINE" | cut -d':' -f2 | cut -d'+' -f1 | xargs)
|
||||
BUILD=$(echo "$VERSION_LINE" | cut -d'+' -f2 | xargs)
|
||||
TAG="v${VERSION}+${BUILD}"
|
||||
|
||||
git tag "$TAG"
|
||||
git push origin "$TAG"
|
||||
Reference in New Issue
Block a user