Skip to content

Commit 9ea5cbc

Browse files
committed
strip sub-revision suffix from tag (3.27.1a => 3.27.1)
1 parent 804df08 commit 9ea5cbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/swift.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
git submodule update
5252
- name: Checkout Flutter
5353
run: |
54-
FLUTTER_REVISION=`git describe --tags --abbrev=0`
54+
FLUTTER_REVISION=`git describe --tags --abbrev=0 | tr -d -c '0-9.'`
5555
FLUTTER_ROOT=/opt/flutter-elinux
5656
git clone --depth 1 --branch $FLUTTER_REVISION https://github.com/sony/flutter-elinux $FLUTTER_ROOT
5757
(cd $FLUTTER_ROOT; git switch -c $FLUTTER_REVISION)
@@ -88,7 +88,7 @@ jobs:
8888
git submodule update
8989
- name: Checkout Flutter
9090
run: |
91-
FLUTTER_REVISION=`git describe --tags --abbrev=0`
91+
FLUTTER_REVISION=`git describe --tags --abbrev=0 | tr -d -c '0-9.'`
9292
FLUTTER_ROOT=/opt/flutter-elinux
9393
git clone --depth 1 --branch $FLUTTER_REVISION https://github.com/sony/flutter-elinux $FLUTTER_ROOT
9494
(cd $FLUTTER_ROOT; git switch -c $FLUTTER_REVISION)

0 commit comments

Comments
 (0)