From c90ef90314137c83e97ffe686c9fde238aa06ffc Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Wed, 25 Sep 2024 00:37:42 +0700 Subject: [PATCH] ci: fix release pipeline --- .github/workflows/release.yaml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eb37084..3077482 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -27,7 +27,7 @@ jobs: VERSION="$GITHUB_REF_NAME" make ci-build-configuration mkdir release .github/scripts/plugin-manifest.sh - mv _output/$VERSION/* release + mv _output/* release - uses: actions/upload-artifact@v4 with: diff --git a/Makefile b/Makefile index 5e91b0b..0320dd9 100644 --- a/Makefile +++ b/Makefile @@ -35,7 +35,7 @@ ci-build-configuration: clean go get github.com/mitchellh/gox && \ go run github.com/mitchellh/gox -ldflags '-X github.com/hasura/ndc-prometheus/configuration/version.BuildVersion=$(VERSION) -s -w -extldflags "-static"' \ -osarch="linux/amd64 linux/arm64 darwin/amd64 windows/amd64 darwin/arm64" \ - -output="$(OUTPUT_DIR)/$(VERSION)/ndc-prometheus-{{.OS}}-{{.Arch}}" \ + -output="$(OUTPUT_DIR)/ndc-prometheus-{{.OS}}-{{.Arch}}" \ ./configuration .PHONY: ci-build