Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
champkeh committed Jun 4, 2022
1 parent adafd17 commit 4c2187c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,17 @@ jobs:
- uses: actions/checkout@v3

- name: Get version
id: version
uses: tyankatsu0105/read-package-version-actions@v1
with:
path: .
property: version
id: version

- name: Create Release for Tag
id: release_tag
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ steps.version.outputs.value }}
release_name: v${{ steps.version.outputs.value }}
tag_name: v${{ steps.version.outputs.version }}
release_name: v${{ steps.version.outputs.version }}
draft: false
prerelease: false
body: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sync-npm-mirror",
"version": "0.3.1",
"version": "0.3.2",
"license": "MIT",
"author": "champkeh",
"description": "同步npm镜像站上面的包",
Expand Down

0 comments on commit 4c2187c

Please sign in to comment.