Revert "Update release scripts (take 3)"

This reverts commit be8c41d56e.

```
+ git push origin refs/heads/v2
To https://github.com/taiki-e/install-action
 ! [rejected]        v2 -> v2 (non-fast-forward)
error: failed to push some refs to 'https://github.com/taiki-e/install-action'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
```
This commit is contained in:
Taiki Endo
2023-07-09 13:11:42 +09:00
parent 4efcb9aabf
commit 42e74b55ab
3 changed files with 51 additions and 81 deletions

View File

@@ -22,11 +22,10 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.CREATE_PR_TOKEN }}
persist-credentials: false
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md
title: $version
branch: 'main|v[0-9]+'
token: ${{ secrets.GITHUB_TOKEN }}
- run: ci/publish.sh