From 386dcb92970e59fdc21bea8ae71022b5e7069d88 Mon Sep 17 00:00:00 2001 From: Evan Jarrett Date: Sun, 12 Oct 2025 22:59:27 -0500 Subject: [PATCH] gorelease fixes --- .gitignore | 1 + .goreleaser.yaml | 4 ---- scripts/publish-artifact.sh | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) mode change 100644 => 100755 scripts/publish-artifact.sh diff --git a/.gitignore b/.gitignore index fac4cce..3b02a10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Binaries bin/ +dist/ # Test artifacts .atcr-pids diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 8fab532..7c57318 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -29,7 +29,6 @@ builds: archives: - id: credential-helper - format: tar.gz name_template: >- docker-credential-atcr_ {{- .Version }}_ @@ -37,9 +36,6 @@ archives: {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} - format_overrides: - - goos: windows - format: zip files: - LICENSE* - README* diff --git a/scripts/publish-artifact.sh b/scripts/publish-artifact.sh old mode 100644 new mode 100755 index bf41fb6..cc042b7 --- a/scripts/publish-artifact.sh +++ b/scripts/publish-artifact.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -e - -TAG_HASH=$(git rev-parse "$TAG"^{tag}) && +goat account login -u evan.jarrett.net -p "${APP_PASSWORD}" +TAG_HASH=$(git rev-parse "$TAG") && TAG_BYTES=$(echo -n "$TAG_HASH" | xxd -r -p | base64 | tr -d '=') && BLOB_OUTPUT=$(goat blob upload "$ARTIFACT_PATH") && echo "$BLOB_OUTPUT" &&