Skip to content

Commit dcd6065

Browse files
committed
scripts/publish: fetch tags
Signed-off-by: Sergiusz Urbaniak <[email protected]>
1 parent bb8b28c commit dcd6065

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/publish.sh

+6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ set -e
55
set -o pipefail
66
# error on unset variables
77
set -u
8+
# for debugging
9+
set -x
10+
11+
# github actions, by default, fetches using `--no-tags`.
12+
# we need tags though to create a release version string.
13+
git fetch --tags
814

915
QUAY_PATH="${QUAY_PATH:-quay.io/brancz/kube-rbac-proxy}"
1016
CPU_ARCHS="amd64 arm64 arm ppc64le s390x"

0 commit comments

Comments
 (0)