Skip to content

Commit

Permalink
Update release-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminHalko committed Dec 31, 2023
1 parent e3c195c commit 4a25c7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
IFS='.' read -r -a nums <<< "${RELEASE_VERSION/-dev/}.0"
VERSIONCODE=$((nums[0] * 100000000 + nums[1] * 100000 + nums[2] * 100 + nums[3]))
sed -i "/^version/c\\version: ${{ env.RELEASE_VERSION }}+$VERSIONCODE" pubspec.yaml
- name: Rename APK
run: mv build/app/outputs/apk/release/app-release.apk build/app/outputs/apk/release/revanced-manager-v${{ env.RELEASE_VERSION }}.apk

- name: Publish release APK
env:
Expand Down

0 comments on commit 4a25c7c

Please sign in to comment.