Skip to content

Commit

Permalink
Fix setting version
Browse files Browse the repository at this point in the history
  • Loading branch information
dankochetov committed Oct 15, 2023
1 parent 92ad044 commit cf6274f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-feature-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
run: |
old_version="$(jq -r .version package.json)"
version="$old_version-$(git rev-parse --short HEAD)"
(cd dist && npm version $version)
npm version $version
tag="${{ github.ref_name }}"
is_version_published="$(npm view ${{ matrix.package }} versions --json | jq -r '.[] | select(. == "'$version'") | . == "'$version'"')"
Expand Down

0 comments on commit cf6274f

Please sign in to comment.