mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-22 07:47:45 +01:00
ci: add version to commit
This commit is contained in:
parent
0c8a2e68cf
commit
2d35495ac5
1 changed files with 4 additions and 4 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -70,6 +70,8 @@ jobs:
|
||||||
Move-Item -Force .\canary.zip .\stg\latest.zip
|
Move-Item -Force .\canary.zip .\stg\latest.zip
|
||||||
$versionData.AssemblyVersion = $newVersion
|
$versionData.AssemblyVersion = $newVersion
|
||||||
$versionData | ConvertTo-Json -Compress | Out-File .\stg\version
|
$versionData | ConvertTo-Json -Compress | Out-File .\stg\version
|
||||||
|
|
||||||
|
$env:DVER = $newVersion
|
||||||
}
|
}
|
||||||
|
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
|
|
@ -77,10 +79,8 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DEPLOY_SSH: ${{ secrets.DEPLOY_SSH }}
|
DEPLOY_SSH: ${{ secrets.DEPLOY_SSH }}
|
||||||
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
||||||
|
DVER: ${{ env.DVER }}
|
||||||
run: |
|
run: |
|
||||||
ls -lah
|
|
||||||
ls -lah stg/
|
|
||||||
|
|
||||||
eval "$(ssh-agent -s)"
|
eval "$(ssh-agent -s)"
|
||||||
ssh-add - <<< "${DEPLOY_SSH}"
|
ssh-add - <<< "${DEPLOY_SSH}"
|
||||||
|
|
||||||
|
|
@ -88,6 +88,6 @@ jobs:
|
||||||
git config --global user.email "actions@github.com"
|
git config --global user.email "actions@github.com"
|
||||||
|
|
||||||
git add .
|
git add .
|
||||||
git commit -m "[CI] Update staging" || true
|
git commit -m "[CI] Update staging for ${DVER}" || true
|
||||||
|
|
||||||
git push origin main || true
|
git push origin main || true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue