Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e91b480385 |
2
.github/workflows/beta-release.yml
vendored
2
.github/workflows/beta-release.yml
vendored
@ -41,9 +41,11 @@ jobs:
|
|||||||
- name: Create release branch
|
- name: Create release branch
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ inputs.version }}
|
VERSION: ${{ inputs.version }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
|
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git"
|
||||||
# Delete remote branch if it exists
|
# Delete remote branch if it exists
|
||||||
git push origin --delete "release-${VERSION}" || true
|
git push origin --delete "release-${VERSION}" || true
|
||||||
# Delete local branch if it exists
|
# Delete local branch if it exists
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user