Skip to content

Commit ad796c3

Browse files
Add notification for new release (AST-000)
1 parent a666792 commit ad796c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ jobs:
9393
chmod +x ./.github/scripts/update_cli.sh
9494
./.github/scripts/update_cli.sh ${{ inputs.cliTag }}
9595
96-
- name: Extract cli version
96+
- name: Extract CLI version
9797
id: extract_cli_version
9898
run: |
99-
CLI_VERSION=$(./src/main/wrapper/resources/cx-linux version)
100-
echo "Cli version being packed is $CLI_VERSION"
99+
CLI_VERSION=$(./src/main/wrapper/resources/cx-linux version | grep -Eo '^[0-9]+\.[0-9]+\.[0-9]+')
100+
echo "CLI version being packed is $CLI_VERSION"
101101
echo "CLI_VERSION=$CLI_VERSION" >> $GITHUB_ENV
102102
echo "::set-output name=CLI_VERSION::$CLI_VERSION"
103103

0 commit comments

Comments
 (0)