diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 3944d57273..2e3918b492 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -43,7 +43,7 @@ jobs: - name: Bump pubspec version run: | IFS='.' read -r -a nums <<< "${RELEASE_VERSION/-dev/}.0" - VERSION=$(echo "${RELEASE_VERSION}" | sed 's/^v//') + 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