Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsan6sha committed Nov 28, 2024
1 parent 4571ed9 commit f3e2bc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/android_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ jobs:
echo "##[endgroup]"
- name: Get NPM Package Version
run: echo "NPM_PACKAGE_VERSION=$(node -p "require('${{ github.workspace }}/apps/box/package.json').version")" >> $GITHUB_ENV
- name: Change Android VersionCode and VersionName
run: |
NEW_VERSION_NAME=$NPM_PACKAGE_VERSION
BUILD_GRADLE_PATH=${{ github.workspace }}/apps/box/android/app/build.gradle
sed -i "s/versionName \".*\"/versionName \"$NEW_VERSION_NAME\"/" $BUILD_GRADLE_PATH
- name: Build Android Release
run: |
cd ${{ github.workspace }}/apps/box/android
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,3 +193,12 @@ All files are released with the MIT License license.
### Unresolved branches

[Rewards Screen](https://github.com/functionland/apps-monorepo/tree/feat/rewards-screen) branch relating to the rewards screen is unresolved and in a [draft PR](https://github.com/functionland/apps-monorepo/pull/229).


### Github Actions

change the versionCode nad number
```
BUILD_GRADLE_PATH=${{ github.workspace }}/apps/box/android/app/build.gradle
sed -i "s/versionName \".*\"/versionName \"$NEW_VERSION_NAME\"/" $BUILD_GRADLE_PATH
```

0 comments on commit f3e2bc0

Please sign in to comment.