From 5f464c913c664beb93dc495ff852bbd455382fb5 Mon Sep 17 00:00:00 2001 From: danielxnj Date: Mon, 20 Nov 2023 22:07:26 -0500 Subject: [PATCH] Add registry --- bin/deploy-hobby | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/deploy-hobby b/bin/deploy-hobby index 96437d40700b9..8f44044beeef0 100755 --- a/bin/deploy-hobby +++ b/bin/deploy-hobby @@ -90,6 +90,10 @@ elif [[ "$POSTHOG_APP_TAG" = "latest" ]] then echo "Pulling latest from current branch: $(git branch --show-current)" git pull +elif [[ "$POSTHOG_APP_TAG" =~ ^[0-9a-f]{40}$ ]] +then + echo "Checking out specific commit hash: $POSTHOG_APP_TAG" + git checkout $POSTHOG_APP_TAG else releaseTag="${POSTHOG_APP_TAG/release-/""}" git fetch --tags