mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix(Release CI): truncate the "v" from version
ci: cleanup
force push soon™️
This commit is contained in:
parent
6fd740f8c0
commit
85950991ab
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 New Issue
Block a user