We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8931258 commit 686d971Copy full SHA for 686d971
.github/workflows/build.yml
@@ -148,8 +148,10 @@ jobs:
148
id: cli_version
149
shell: bash
150
run: |
151
- dist-bin/localstack --version
152
- echo "cli_version=$(dist-bin/localstack --version)" >> $GITHUB_OUTPUT
+ VERSION_OUTPUT=$(dist-bin/localstack --version)
+ echo $VERSION_OUTPUT
153
+ # using bash parameter expansion to remove the part after the last space, since sed won't work on MacOS
154
+ echo "cli_version=${VERSION_OUTPUT##* }" >> $GITHUB_OUTPUT
155
156
- name: Archive distribution (Linux, MacOS)
157
if: matrix.os != 'windows'
0 commit comments