Skip to content

Commit e894740

Browse files
committed
fix: Compatible with local branches
1 parent 779fa4e commit e894740

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@ jobs:
5959
npm run build
6060
zip -r release.zip ./dist
6161
62+
- name: Publish to npm
63+
run: |
64+
npm config set //registry.npmjs.org/:_authToken=${NPM_TOKEN}
65+
npm publish --access public
66+
env:
67+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
68+
6269
- name: Create GitHub Release
6370
uses: softprops/action-gh-release@v2
6471
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gix-cli",
3-
"version": "1.2.2-beta.0",
3+
"version": "1.2.2",
44
"description": "A Git extension CLI tool",
55
"bin": {
66
"gix": "dist/gix.js"

0 commit comments

Comments
 (0)