Fix syntax

This commit is contained in:
Roland Geider
2022-12-06 19:26:07 +01:00
parent f26d8b0fcf
commit 475d70b839

View File

@@ -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.