diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f20e260..bd586ff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,15 +17,6 @@ jobs: npm ci 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 uses: actions/create-release@v1 if: ${{ steps.changelog.outputs.skipped == 'false' }} diff --git a/package.json b/package.json index c4ae454..a5e5eed 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "build": "./node_modules/.bin/ncc build src/index.ts -o ./", "dev": "ts-node-dev src/index.ts", "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": [ "github",