chore: post release script
This commit is contained in:
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
@@ -17,15 +17,6 @@ jobs:
|
|||||||
npm ci
|
npm ci
|
||||||
npm run release
|
npm run release
|
||||||
|
|
||||||
- name: Bump version and push tag
|
|
||||||
id: changelog
|
|
||||||
uses: TriPSs/conventional-changelog-action@v2
|
|
||||||
with:
|
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
git-message: 'chore(release): {version}'
|
|
||||||
tag-prefix: ''
|
|
||||||
preset: ''
|
|
||||||
|
|
||||||
- name: Create github Release
|
- name: Create github Release
|
||||||
uses: actions/create-release@v1
|
uses: actions/create-release@v1
|
||||||
if: ${{ steps.changelog.outputs.skipped == 'false' }}
|
if: ${{ steps.changelog.outputs.skipped == 'false' }}
|
||||||
|
@@ -10,7 +10,8 @@
|
|||||||
"build": "./node_modules/.bin/ncc build src/index.ts -o ./",
|
"build": "./node_modules/.bin/ncc build src/index.ts -o ./",
|
||||||
"dev": "ts-node-dev src/index.ts",
|
"dev": "ts-node-dev src/index.ts",
|
||||||
"prerelease": "npm run build",
|
"prerelease": "npm run build",
|
||||||
"release": "HUSKY_SKIP_HOOKS=1 standard-version"
|
"release": "HUSKY_SKIP_HOOKS=1 standard-version",
|
||||||
|
"postrelease": "git push origin main --follow-tags"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"github",
|
"github",
|
||||||
|
Reference in New Issue
Block a user