mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2024-11-10 01:01:56 +01:00
fix(Release CI): truncate the "v" from version
ci: cleanup
force push soon™️
This commit is contained in:
parent
6fd740f8c0
commit
85950991ab
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release-build.yml
vendored
3
.github/workflows/release-build.yml
vendored
|
@ -43,8 +43,9 @@ jobs:
|
|||
- name: Bump pubspec version
|
||||
run: |
|
||||
IFS='.' read -r -a nums <<< "${RELEASE_VERSION/-dev/}.0"
|
||||
VERSION=$(echo "${RELEASE_VERSION}" | sed 's/v//')
|
||||
VERSIONCODE=$((nums[0] * 100000000 + nums[1] * 100000 + nums[2] * 100 + nums[3]))
|
||||
sed -i "/^version/c\\version: ${{ env.RELEASE_VERSION }}+$VERSIONCODE" pubspec.yaml
|
||||
sed -i "/^version/c\\version: ${{ env.VERSION }}+$VERSIONCODE" pubspec.yaml
|
||||
|
||||
- name: Set up Flutter
|
||||
run: flutter pub get
|
||||
|
|
Loading…
Reference in a new issue