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

View File

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