diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index d5f4ee5..a2f433b 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -38,5 +38,5 @@ jobs: - name: Run auto shipit run: npx auto shipit --verbose env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/release-script.sh b/release-script.sh deleted file mode 100644 index 10a3791..0000000 --- a/release-script.sh +++ /dev/null @@ -1,17 +0,0 @@ -export PATH=$(npm bin):$PATH - -VERSION=`auto version` - -## Support for label 'skip-release' -if [ ! -z "$VERSION" ]; then - ## Update Changelog - auto changelog - - ## Publish Package - npm version $VERSION -m "Bump version to: %s [skip ci]" - npm publish - - ## Create GitHub Release - git push --follow-tags --set-upstream origin $branch - auto release -fi \ No newline at end of file