mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +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
|
||||
$versionData.AssemblyVersion = $newVersion
|
||||
$versionData | ConvertTo-Json -Compress | Out-File .\stg\version
|
||||
|
||||
$env:DVER = $newVersion
|
||||
}
|
||||
|
||||
- name: Commit changes
|
||||
|
|
@ -77,10 +79,8 @@ jobs:
|
|||
env:
|
||||
DEPLOY_SSH: ${{ secrets.DEPLOY_SSH }}
|
||||
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no"
|
||||
DVER: ${{ env.DVER }}
|
||||
run: |
|
||||
ls -lah
|
||||
ls -lah stg/
|
||||
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add - <<< "${DEPLOY_SSH}"
|
||||
|
||||
|
|
@ -88,6 +88,6 @@ jobs:
|
|||
git config --global user.email "actions@github.com"
|
||||
|
||||
git add .
|
||||
git commit -m "[CI] Update staging" || true
|
||||
git commit -m "[CI] Update staging for ${DVER}" || true
|
||||
|
||||
git push origin main || true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue