Add bump nightly script

This commit is contained in:
Mikayla committed 2023-11-17 17:14:48 -08:00
1 parent e2b3c50530
commit 8cc36abbdf
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$branch" != "main" ]; then
echo "You must be on main to run this script"
exit 1
fi
git pull --ff-only origin main
git tag -f nightly
git push -f origin nightly