Skip to content

Commit

Permalink
Merge pull request #721 from nokia/moosq-patch-12
Browse files Browse the repository at this point in the history
change Os string in archive file name to lower case
  • Loading branch information
moosq committed Oct 24, 2023
2 parents b4ffadf + 7a6868b commit b8fcfee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
$pattern = "refs/tags/(.+)"
if($env:GITHUB_REF -match $pattern) {
Write-Host "try to download zip archive for version ntt $($matches[1])"
hub.exe release download $($matches[1]) -i ntt_Windows_x86_64.zip
Expand-Archive -v -Force -d . ntt_Windows_x86_64.zip
hub.exe release download $($matches[1]) -i ntt_windows_x86_64.zip
Expand-Archive -v -Force -d . ntt_windows_x86_64.zip
} else {
Write-Error "error: provided reference does not contain a tag: $env:GITHUB_REF"
}
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ nfpms:
archives:
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- tolower .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
Expand Down

0 comments on commit b8fcfee

Please sign in to comment.