From 475d70b839e256a0fb6509e8da10402f48cfbdfc Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Tue, 6 Dec 2022 19:26:07 +0100 Subject: [PATCH] Fix syntax --- .github/workflows/android-release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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.