rename goreleaser amd64 config to match other archs

This commit is contained in:
Kenneth Bingham 2024-07-24 16:41:13 -04:00
parent b19e0994df
commit 477edd503c
No known key found for this signature in database
GPG Key ID: 31709281860130B6
3 changed files with 4 additions and 6 deletions

View File

@ -48,7 +48,7 @@ jobs:
with:
distribution: goreleaser
version: '~> v2'
args: release --skip=publish --config .goreleaser-linux.yml
args: release --skip=publish --config .goreleaser-linux-amd64.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -230,7 +230,7 @@ jobs:
runs-on: macos-latest
steps:
- name: import distribution cert
uses: apple-actions/import-codesign-certs@v1
uses: apple-actions/import-codesign-certs@v3
with:
p12-file-base64: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_P12_BASE64 }}
p12-password: ${{ secrets.APPLE_DEVELOPER_CERTIFICATE_PASSWORD }}

View File

@ -13,13 +13,11 @@ set -o xtrace
resolveArch() {
case ${1} in
amd64) echo amd64
;;
arm|armv7*|arm/v7*|armhf*) echo armhf
;;
arm64|armv8*|arm/v8*) echo arm64
armv8*|arm/v8*) echo arm64
;;
*) echo ${1}
*) echo "${1}"
;;
esac
}