Skip to content

Commit

Permalink
Merge pull request #59 from wednesday-solutions/main
Browse files Browse the repository at this point in the history
Release sync
  • Loading branch information
shounak-mulay authored Apr 9, 2024
2 parents d0e6d94 + 50add78 commit f533182
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
- name: Run build_runner
run: derry build_runner

- name: Bump Version
run: scripts/bump-build-number.sh

- name: Decode Keystore
id: decode_keystore
uses: timheuer/base64-to-file@v1
Expand Down
2 changes: 1 addition & 1 deletion scripts/set-flavor-and-apk-path-to-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

CURRENT_BRANCH=$(git branch --show-current)

if [ "main" == "$CURRENT_BRANCH" ]; then
if [ "release" == "$CURRENT_BRANCH" ]; then
echo "Current Branch is $CURRENT_BRANCH , proceeding with prod build"
echo "FLAVOR_NAME=prod" >> "$GITHUB_ENV"
echo "APK_PATH=build/app/outputs/flutter-apk/app-prod-release.apk" >> "$GITHUB_ENV"
Expand Down

0 comments on commit f533182

Please sign in to comment.