Skip to content

Commit

Permalink
fix: package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Sep 27, 2023
1 parent 0393598 commit a5c306a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,14 @@ jobs:
- run: npm ci
- run: bazel build package
- run: rsync --copy-links --recursive --times --group --no-perms --chmod=ugo=rwX ./bazel-bin/package/package/ ./tmp_pkg
- run: npm version ${{ github.ref_name }}
working-directory: ./tmp_pkg
- run: npm publish --dry-run
working-directory: ./tmp_pkg
- name: publish
run: |
npm version ${{ github.ref_name }}
npm publish
working-directory: tmp_pkg
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
18 changes: 9 additions & 9 deletions package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
"version": "0.0.0",
"license": "MIT",
"author": {
"email": "[email protected]",
"name": "thesayyn",
"url": "https://github.com/thesayyn"
"email": "[email protected]",
"name": "thesayyn",
"url": "https://github.com/thesayyn"
},
"funding": {
"type": "individual",
"url": "https://www.buymeacoffee.com/thesayyn"
"type": "individual",
"url": "https://www.buymeacoffee.com/thesayyn"
},
"repository": {
"type": "git",
"url": "https://github.com/thesayyn/protoc-gen-ts"
"type": "git",
"url": "git+https://github.com/thesayyn/protoc-gen-ts.git"
},
"bin": {
"protoc-gen-ts": "./protoc-gen-ts.js"
"protoc-gen-ts": "protoc-gen-ts.js"
}
}
}

0 comments on commit a5c306a

Please sign in to comment.