diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index 5e3bcf79..d5725bef 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -46,11 +46,10 @@ jobs: run: flutter pub get - name: Extract version information - id: get_version run: | - echo "VERSION_V=$(echo $GITHUB_REF | cut -d / -f 3) >> $GITHUB_ENV - echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 2-) >> $GITHUB_ENV - echo "BUILD=$(flutter pub run cider version | cut -d '+' -f 2) >> $GITHUB_ENV + echo "VERSION_V=$(echo $GITHUB_REF | cut -d / -f 3)" >> $GITHUB_ENV + echo "VERSION=$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 2-)" >> $GITHUB_ENV + echo "BUILD=$(flutter pub run cider version | cut -d '+' -f 2)" >> $GITHUB_ENV # Note: the original tag that triggered the workflow is in the form vX.Y.Z # but the pubspec.yaml is committed in the commit after that one.