Merge pull request 'Update on-release.yaml' (#35) from develop into main
Reviewed-on: #35
This commit was merged in pull request #35.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user