Skip to content

Commit

Permalink
chore: syntax in CLI version workflow (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored and octonato committed Nov 27, 2024
1 parent 1346627 commit 5a7547f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-cli-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
id: install-cli
run: |
export CLI_INSTALL_PATH=$HOME/.akka/bin
export PATH=${PATH}:${CLI_INSTALL_PATH}
mkdir -p ${CLI_INSTALL_PATH}
chmod +x docs/src-static/install-cli.sh
docs/src-static/install-cli.sh --force --prefix=${CLI_INSTALL_PATH}
echo ${CLI_INSTALL_PATH} >> ${GITHUB_PATH}
CLI_VERSION=$(${CLI_INSTALL_PATH}/akka version)
CLI_VERSION=$(akka version)
echo "setting CLI version to ${CLI_VERSION}"
sed -i.bak "s/\(echo \":akka-cli-version: \)[^\"]*/\1${CLI_VERSION}/" Makefile
rm Makefile.bak
Expand Down

0 comments on commit 5a7547f

Please sign in to comment.