mirror of
https://github.com/zerotier/zerotier-one-api-spec.git
synced 2026-05-22 16:29:58 -07:00
docs: improve github release description test
This commit is contained in:
@@ -44,7 +44,12 @@ jobs:
|
||||
- name: 'git config'
|
||||
run: git config --global user.email "wrankles@zerotier.com" && git config --global user.name "wrankles"
|
||||
|
||||
- name: 'Bump Version'
|
||||
run: npx release-it --ci -VV --no-github.release ${{ github.event.inputs.newversion }} --template keepachangelog
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
|
||||
|
||||
- name: 'Create Release'
|
||||
run: npm run release -- ${{ github.event.inputs.newversion }}
|
||||
run: npx release-it --ci -VV --no-increment --no-git --template compact
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
|
||||
|
||||
@@ -6,9 +6,6 @@
|
||||
"release": true,
|
||||
"assets": ["tsp-output/@typespec/openapi3/openapi.yaml","tsp-output/@typespec/json-schema/json-schema.json"],
|
||||
"releaseNotes": "npx auto-changelog -p --commit-limit=false --stdout -u --template https://raw.githubusercontent.com/release-it/release-it/679bd0e2480d2e04aea4f8d5ecc00183dbd60c05/templates/keepachangelog.hbs --starting-version=${latestTag} --ending-version=${tagName}"
|
||||
},
|
||||
"git": {
|
||||
"changelog": "npx auto-changelog -p --stdout --commit-limit=false -u --template https://raw.githubusercontent.com/release-it/release-it/679bd0e2480d2e04aea4f8d5ecc00183dbd60c05/templates/keepachangelog.hbs"
|
||||
},
|
||||
"hooks": {
|
||||
"after:bump": ["npm run build", "npx auto-changelog -p"]
|
||||
|
||||
Reference in New Issue
Block a user