diff --git a/backend/ee-repo-ref.txt b/backend/ee-repo-ref.txt index 080f7389be..0042b552e0 100644 --- a/backend/ee-repo-ref.txt +++ b/backend/ee-repo-ref.txt @@ -1 +1 @@ -0ad09326e5cdaf098e189893a14388db02266c0e \ No newline at end of file +5bb4a7ce8660effc14b4ab96b17ff11f4048bfe9 \ No newline at end of file diff --git a/backend/write_latest_ee_ref.sh b/backend/write_latest_ee_ref.sh new file mode 100755 index 0000000000..476d4a7d57 --- /dev/null +++ b/backend/write_latest_ee_ref.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Navigate to the target directory +cd ../../windmill-ee-private || { echo "Directory not found"; exit 1; } + +# Get the current commit hash +commit_hash=$(git rev-parse HEAD) + +# Navigate back to the original directory +cd - || exit + +# Write the commit hash to ./ee-repo-ref.txt +echo -n "$commit_hash" > ./ee-repo-ref.txt + +# Confirmation message +echo "Commit hash $commit_hash written to ee-repo-ref.txt" \ No newline at end of file