mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
ci(Release Build): Use correct syntax in getting the version
This commit is contained in:
parent
85950991ab
commit
f38a593434
2
.github/workflows/release-build.yml
vendored
2
.github/workflows/release-build.yml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
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.VERSION }}+$VERSIONCODE" pubspec.yaml
|
||||
sed -i "/^version/c\\version: $VERSION+$VERSIONCODE" pubspec.yaml
|
||||
|
||||
- name: Set up Flutter
|
||||
run: flutter pub get
|
||||
|
Loading…
Reference in New Issue
Block a user