Compare commits
No commits in common. "267b83bd0c12fe4c5275528c8986b1b1a854bd94" and "64671fc8b2deb50bb9893c1ec6c4ebaea26006b9" have entirely different histories.
267b83bd0c
...
64671fc8b2
1 changed files with 1 additions and 4 deletions
|
|
@ -12,7 +12,6 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
|
@ -60,9 +59,7 @@ jobs:
|
||||||
|
|
||||||
git config user.name "CI"
|
git config user.name "CI"
|
||||||
git config user.email "ci@forge.lclr.dev"
|
git config user.email "ci@forge.lclr.dev"
|
||||||
scheme="${GITHUB_SERVER_URL%%://*}"
|
git remote set-url origin "https://x-token:${GITEA_TOKEN}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git"
|
||||||
host="${GITHUB_SERVER_URL#*://}"
|
|
||||||
git remote set-url origin "${scheme}://x-token:${GITEA_TOKEN}@${host}/${GITHUB_REPOSITORY}.git"
|
|
||||||
git add CHANGELOG.md
|
git add CHANGELOG.md
|
||||||
git commit -m "chore(changelog): release ${current_tag}"
|
git commit -m "chore(changelog): release ${current_tag}"
|
||||||
git push origin HEAD:main
|
git push origin HEAD:main
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue