Update on-release.yaml #35

Merged
hizumi merged 2 commits from develop into main 2024-03-02 00:23:32 -06:00
Showing only changes of commit 44b842ad33 - Show all commits

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