Skip to content

Commit

Permalink
feat: add release section
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyoucao577 authored Oct 8, 2024
1 parent 0ec2d31 commit ec45909
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,16 @@ jobs:
- name: Check ten dependencies
run: |
tman install
- name: Release
if: startsWith(github.ref, 'refs/tags/')
run: |
# replace version by tag
jq '.version = ${{ github.ref_name }}' manifest.json >manifest.gen.json
# check after replace
diff manifest.gen.json manifest.json
mv manifest.gen.json manifest.json
jq . manifest.gen.json
tman --verbose publish

0 comments on commit ec45909

Please sign in to comment.