mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Updated CreateRelease.yml
This commit is contained in:
parent
2283b44a4d
commit
d0c3fe0ea3
10
.github/workflows/CreateRelease.yml
vendored
10
.github/workflows/CreateRelease.yml
vendored
@ -14,10 +14,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Merge master into AssetStoreRelease
|
- name: Merge master into AssetStoreRelease
|
||||||
run: |
|
run: |
|
||||||
git config --local user.name ${{ secrets.COMMITTER_NAME }}
|
|
||||||
git config --local user.email ${{ secrets.COMMITTER_EMAIL }}
|
|
||||||
git fetch origin master --depth 1
|
git fetch origin master --depth 1
|
||||||
git rebase origin/master
|
git reset --hard origin/master
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@ -33,8 +31,10 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit and Push
|
- name: Commit and Push
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "action@github.com"
|
git config --local user.name ${{ secrets.COMMITTER_NAME }}
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.email ${{ secrets.COMMITTER_EMAIL }}
|
||||||
git add Assets/Mirror/version.txt
|
git add Assets/Mirror/version.txt
|
||||||
git commit -m "release!: Asset Store Release" -a
|
git commit -m "release!: Asset Store Release" -a
|
||||||
git push origin AssetStoreRelease
|
git push origin AssetStoreRelease
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
Reference in New Issue
Block a user