Skip to content

Commit a5c306a

Browse files
committed
fix: package.json
1 parent 0393598 commit a5c306a

2 files changed

Lines changed: 19 additions & 14 deletions

File tree

.github/workflows/release.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ jobs:
1515
- run: npm ci
1616
- run: bazel build package
1717
- run: rsync --copy-links --recursive --times --group --no-perms --chmod=ugo=rwX ./bazel-bin/package/package/ ./tmp_pkg
18-
- run: npm version ${{ github.ref_name }}
19-
working-directory: ./tmp_pkg
20-
- run: npm publish --dry-run
21-
working-directory: ./tmp_pkg
18+
- name: publish
19+
run: |
20+
npm version ${{ github.ref_name }}
21+
npm publish
22+
working-directory: tmp_pkg
2223
env:
23-
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
24+
NODE_AUTH_TOKEN: ${{ secrets.NPM_RELEASE_TOKEN }}
25+
- name: Release
26+
uses: softprops/action-gh-release@v1
27+
with:
28+
generate_release_notes: true

package/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
"version": "0.0.0",
55
"license": "MIT",
66
"author": {
7-
"email": "thesayyn@gmail.com",
8-
"name": "thesayyn",
9-
"url": "https://github.com/thesayyn"
7+
"email": "thesayyn@gmail.com",
8+
"name": "thesayyn",
9+
"url": "https://github.com/thesayyn"
1010
},
1111
"funding": {
12-
"type": "individual",
13-
"url": "https://www.buymeacoffee.com/thesayyn"
12+
"type": "individual",
13+
"url": "https://www.buymeacoffee.com/thesayyn"
1414
},
1515
"repository": {
16-
"type": "git",
17-
"url": "https://github.com/thesayyn/protoc-gen-ts"
16+
"type": "git",
17+
"url": "git+https://github.com/thesayyn/protoc-gen-ts.git"
1818
},
1919
"bin": {
20-
"protoc-gen-ts": "./protoc-gen-ts.js"
20+
"protoc-gen-ts": "protoc-gen-ts.js"
2121
}
22-
}
22+
}

0 commit comments

Comments
 (0)