Skip to content

Commit 308c990

Browse files
committed
use goreleasertag not env tag
Signed-off-by: Austin Abro <[email protected]>
1 parent 68f3b76 commit 308c990

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ jobs:
154154
155155
- name: Setup release ENV vars
156156
run: |
157-
echo TAG=$GITHUB_REF_NAME >> $GITHUB_ENV
158-
159157
K8S_MODULES_VER=$(go list -f '{{.Version}}' -m k8s.io/client-go | sed 's/v//; s/\./ /g')
160158
echo K8S_MODULES_MAJOR_VER=$(expr $(echo "$K8S_MODULES_VER" | cut -d " " -f 1) + 1) >> $GITHUB_ENV
161159
echo K8S_MODULES_MINOR_VER=$(echo "$K8S_MODULES_VER" | cut -d " " -f 2) >> $GITHUB_ENV

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ release-init-package:
131131
## Build the Zarf CLI for all platforms aligned with the release process
132132
## skipping validation here to allow for building with a dirty git state (IE development)
133133
goreleaser-build:
134-
TAG="$(CLI_VERSION)" \
134+
GORELEASER_CURRENT_TAG="$(CLI_VERSION)" \
135135
K8S_MODULES_VER="$(K8S_MODULES_VER)" \
136136
K8S_MODULES_MAJOR_VER="$(K8S_MODULES_MAJOR_VER)" \
137137
K8S_MODULES_MINOR_VER="$(K8S_MODULES_MINOR_VER)" \
@@ -141,7 +141,7 @@ goreleaser-build:
141141
SYFT_VERSION="$(SYFT_VERSION)" \
142142
ARCHIVES_VERSION="$(ARCHIVES_VERSION)" \
143143
HELM_VERSION="$(HELM_VERSION)" \
144-
goreleaser build --clean --skip=validate --snapshot
144+
goreleaser build --clean --skip=validate
145145

146146
# INTERNAL: used to publish the init package
147147
publish-init-package:

0 commit comments

Comments
 (0)