Skip to content

Commit

Permalink
resolves #1
Browse files Browse the repository at this point in the history
  • Loading branch information
gynt committed Aug 15, 2024
1 parent bad6054 commit 7da4784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/create-release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $exists = ($releaseTags | Where-Object {$_ -eq "$tag"} ) -ne $null

if ($exists) {
Write-Output "Release already exists: $tag, overwriting files"
gh release upload --repo $REPO --clobber $tag "./build/store.yml" (Get-Item .\build\extensions\*.zip)
gh release upload --repo $REPO --clobber $tag "./build/store.yml" (Get-Item .\build\extensions\*.zip -ErrorAction Ignore)
} else {
Write-Output "Release does not already exist: $tag, uploading as new files"
gh release create --repo $REPO --target $branch $tag "./build/store.yml" (Get-Item .\build\extensions\*.zip) --title "Store for $branch" --notes "This release is generated by a script"
Expand Down

0 comments on commit 7da4784

Please sign in to comment.