Skip to content

Commit

Permalink
Update npm-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gnpaone authored Oct 1, 2024
1 parent 940f9bb commit 99e196b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
shell: bash
working-directory: npm/rust-just
run: |
LATEST_VERSION=$(git tag | sort -V | tail -1)
LATEST_VERSION=${{ steps.latesttag.outputs.tag }}
echo $LATEST_VERSION
sed -i "s/\"version\": \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"version\": \"$LATEST_VERSION\"/; s/\"\(rust-just-[^\"]*\)\": \"[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"\1\": \"$LATEST_VERSION\"/g" package.json
yarn install
Expand Down

0 comments on commit 99e196b

Please sign in to comment.