Skip to content

Commit

Permalink
Fix release issue with pre-release (#3424)
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM authored Nov 29, 2023
1 parent 17f2311 commit b7b86c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Check if version changed
id: check
run: |
latestNpmPackageVersion=$( npm view maplibre-gl version )
latestNpmPackageVersion=$( npm view maplibre-gl versions --json | jq '.[-1]' -r )
currentVersion=$( node -e "console.log(require('./package.json').version)" )
if [ "$latestNpmPackageVersion" == "$currentVersion" ]; then
echo "changed=false" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit b7b86c1

Please sign in to comment.