Skip to content

Commit

Permalink
uses powershell script to get CLI version
Browse files Browse the repository at this point in the history
  • Loading branch information
shahadarsh committed Jan 8, 2024
1 parent a1f5114 commit 7618c91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tembo_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ jobs:
id: cli_version_windows
run: |
FOR /F "tokens=2" %%F IN ('"target/${{ matrix.target }}/release/tembo.exe --version"') DO SET TEMBO_VERSION=%%F
FOR /F "tokens=2" %%F IN ('"%TEMBO_VERSION% -replace '', '-'"') DO SET TEMBO_CLI_NAME=%%F
echo "TEMBO_CLI_NAME=%TEMBO_CLI_NAME%" >> $GITHUB_ENV
$TEMBO_VERSION = $(target/${{ matrix.target }}/release/tembo.exe --version)
$TEMBO_CLI_NAME = $TEMBO_VERSION.replace(' ','-')
echo "TEMBO_CLI_NAME=$TEMBO_CLI_NAME" >> $GITHUB_ENV
if: runner.os == 'Windows'

- name: "Generate release changelog"
Expand Down

0 comments on commit 7618c91

Please sign in to comment.