Update on-release.yaml
All checks were successful
Generate testing snapshot / Create testing release (push) Successful in 30s

This commit is contained in:
hizumi
2024-03-02 00:18:05 -06:00
parent d6549fc040
commit 44b842ad33

View File

@@ -22,7 +22,7 @@ jobs:
"accept" = "application/json"
"Authorization" = "token ${{ secrets.RUNNER_ISSUE_TOKEN }}"
}
$response = Invoke-RestMethod -Uri "${{ gitea.api_url }}/repos17th-Ranger-Battalion-ORG/MissionsForZGM/issues" -Method Post -Headers $headers -ContentType "application/json" -Body "{`"title`": `"publish-release`"}"
$response = Invoke-RestMethod -Uri "${{ gitea.api_url }}/repos/17th-Ranger-Battalion-ORG/MissionsForZGM/issues" -Method Post -Headers $headers -ContentType "application/json" -Body "{`"title`": `"publish-release`"}"
CreateRelease:
name: Publish cleaned template
@@ -56,9 +56,10 @@ jobs:
- name: Create archive
run: |
cd release
$revision = git rev-parse --short=10 HEAD
cd MissionTemplate
$tag = git describe --abbrev=0 --tags
cd ..\MissionTemplate
Compress-Archive MissionFramework mission-maker-template-v$tag-$revision.zip
- name: Add archive to release