File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 id : check
3131 working-directory : platform/node
3232 run : |
33+ packageName="$( node -e "console.log(require('./package.json').name)" )"
3334 currentVersion="$( node -e "console.log(require('./package.json').version)" )"
34- isPublished="$( npm view @maplibre/maplibre-gl-native versions --json | jq -c --arg cv "$currentVersion" 'any(. == $cv)' )"
35+ isPublished="$( npm view "$packageName" versions --json | jq -c --arg cv "$currentVersion" 'any(. == $cv)' )"
3536 echo "published=$isPublished" >> "$GITHUB_OUTPUT"
3637 echo "currentVersion: $currentVersion"
3738 echo "isPublished: $isPublished"
@@ -248,9 +249,6 @@ jobs:
248249 publish_npm :
249250 runs-on : ubuntu-latest
250251 needs : publish_binaries
251- permissions :
252- id-token : write # Required for trusted publishing
253- contents : write
254252 defaults :
255253 run :
256254 shell : bash
Original file line number Diff line number Diff line change 1717 "types" : " index.d.ts" ,
1818 "repository" : {
1919 "type" : " git" ,
20- "url" : " https://github.com/maplibre/maplibre-native"
20+ "url" : " git+ https://github.com/maplibre/maplibre-native.git "
2121 },
2222 "license" : " BSD-2-Clause" ,
2323 "dependencies" : {
You can’t perform that action at this time.
0 commit comments