Skip to content

Commit

Permalink
fixed setup.sh so no errs on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
xadhatter committed Dec 8, 2023
1 parent 34928eb commit 302bae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ HTTPSRV_COMMIT=$(git log -n 1 --format="%H" -- ${COMPONENTS_DIR}/httpsrv/)
OPERATOR_COMMIT=$(git log -n 1 --format="%H" -- ${COMPONENTS_DIR}/operator/)
ROOT_COMMIT=$(git rev-parse HEAD)

HEAD_REF=$(git symbolic-ref -q HEAD)
HEAD_REF=$(git symbolic-ref -q HEAD || true)
TAG_REF=$(git describe --tags --exact-match 2>/dev/null | xargs -I % echo "refs/tags/%")

CONTAINER_REGISTRY=${CONTAINER_REGISTRY:-"ghcr.io/xigxog"}
Expand Down

0 comments on commit 302bae0

Please sign in to comment.