File tree Expand file tree Collapse file tree 6 files changed +56
-18
lines changed
Expand file tree Collapse file tree 6 files changed +56
-18
lines changed Original file line number Diff line number Diff line change @@ -432,20 +432,23 @@ jobs:
432432 run : ls -R ./npm
433433 shell : bash
434434 - name : Publish
435- if : contains(github.ref, 'main')
436- run : |
437- npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
438- npm config set scope "@platformatic"
439- # npm config set provenance true
440- if git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+";
441- then
442- npm publish --access public --dry-run
443- elif git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+-\.+";
444- then
445- npm publish --tag next --access public --dry-run
446- else
447- echo "Not a release, skipping publish"
448- fi
435+ run : npm publish
449436 env :
450437 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
451438 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
439+ # - name: Publish
440+ # if: contains(github.ref, 'main')
441+ # run: |
442+ # npm config set //registry.npmjs.org/:_authToken=$NPM_TOKEN
443+ # if git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+";
444+ # then
445+ # npm publish
446+ # elif git log -1 --pretty=%B | grep "^v\?[0-9]\+\.[0-9]\+\.[0-9]\+-\.+";
447+ # then
448+ # npm publish
449+ # else
450+ # echo "Not a release, skipping publish"
451+ # fi
452+ # env:
453+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
454+ # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1111 "files" : [
1212 " python-node.darwin-arm64.node"
1313 ],
14+ "publishConfig" : {
15+ "registry" : " https://registry.npmjs.org/" ,
16+ "access" : " restricted" ,
17+ "scope" : " @platformatic" ,
18+ "provenance" : false ,
19+ "dryRun" : true
20+ },
1421 "license" : " MIT" ,
1522 "engines" : {
1623 "node" : " >= 10"
1724 }
18- }
25+ }
Original file line number Diff line number Diff line change 1111 "files" : [
1212 " python-node.darwin-x64.node"
1313 ],
14+ "publishConfig" : {
15+ "registry" : " https://registry.npmjs.org/" ,
16+ "access" : " restricted" ,
17+ "scope" : " @platformatic" ,
18+ "provenance" : false ,
19+ "dryRun" : true
20+ },
1421 "license" : " MIT" ,
1522 "engines" : {
1623 "node" : " >= 10"
1724 }
18- }
25+ }
Original file line number Diff line number Diff line change 1616 "scripts" : {
1717 "postinstall" : " node fix-python-soname.js"
1818 },
19+ "publishConfig" : {
20+ "registry" : " https://registry.npmjs.org/" ,
21+ "access" : " restricted" ,
22+ "scope" : " @platformatic" ,
23+ "provenance" : false ,
24+ "dryRun" : true
25+ },
1926 "license" : " MIT" ,
2027 "engines" : {
2128 "node" : " >= 10"
Original file line number Diff line number Diff line change 1616 "scripts" : {
1717 "postinstall" : " node fix-python-soname.js"
1818 },
19+ "publishConfig" : {
20+ "registry" : " https://registry.npmjs.org/" ,
21+ "access" : " restricted" ,
22+ "scope" : " @platformatic" ,
23+ "provenance" : false ,
24+ "dryRun" : true
25+ },
1926 "license" : " MIT" ,
2027 "engines" : {
2128 "node" : " >= 10"
2229 },
2330 "libc" : [
2431 " glibc"
2532 ]
26- }
33+ }
Original file line number Diff line number Diff line change 22 "name" : " @platformatic/python-node" ,
33 "description" : " Run ASGI-compatible Python apps in Node.js" ,
44 "private" : true ,
5- "version" : " 0.0 .0" ,
5+ "version" : " 0.1 .0" ,
66 "main" : " index.js" ,
77 "types" : " index.d.ts" ,
88 "napi" : {
1313 " x86_64-unknown-linux-gnu"
1414 ]
1515 },
16+ "publishConfig" : {
17+ "registry" : " https://registry.npmjs.org/" ,
18+ "access" : " restricted" ,
19+ "scope" : " @platformatic" ,
20+ "provenance" : false ,
21+ "dryRun" : true
22+ },
1623 "license" : " MIT" ,
1724 "devDependencies" : {
1825 "@napi-rs/cli" : " ^3.0.4" ,
You can’t perform that action at this time.
0 commit comments