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 6da0854
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ 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 --dry-run
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:
draft: true
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": "thesayyn@gmail.com",
"name": "thesayyn",
"url": "https://github.com/thesayyn"
"email": "thesayyn@gmail.com",
"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 6da0854

Please sign in to comment.