We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a666792 commit ad796c3Copy full SHA for ad796c3
.github/workflows/release.yml
@@ -93,11 +93,11 @@ jobs:
93
chmod +x ./.github/scripts/update_cli.sh
94
./.github/scripts/update_cli.sh ${{ inputs.cliTag }}
95
96
- - name: Extract cli version
+ - name: Extract CLI version
97
id: extract_cli_version
98
run: |
99
- CLI_VERSION=$(./src/main/wrapper/resources/cx-linux version)
100
- echo "Cli version being packed is $CLI_VERSION"
+ CLI_VERSION=$(./src/main/wrapper/resources/cx-linux version | grep -Eo '^[0-9]+\.[0-9]+\.[0-9]+')
+ echo "CLI version being packed is $CLI_VERSION"
101
echo "CLI_VERSION=$CLI_VERSION" >> $GITHUB_ENV
102
echo "::set-output name=CLI_VERSION::$CLI_VERSION"
103
0 commit comments