We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c6c1f0 commit 45aba1fCopy full SHA for 45aba1f
.gitignore
@@ -41,6 +41,3 @@ luac.out
41
42
# Vim tag files
43
tags
44
-
45
-# Scripts used for repo maintenance
46
-*.sh
release.sh
@@ -0,0 +1,19 @@
1
+#/bin/bash
2
+VERSION=$1
3
+MAJOR_VERSION="v1.x"
4
+git fetch
5
+git checkout main
6
+git pull
7
+echo "Merging to ${MAJOR_VERSION}"
8
+git checkout $MAJOR_VERSION
9
10
+if git merge --ff-only origin/main; then
11
+ git push
12
+ git tag -a $VERSION -m "Release ${VERSION}"
13
+ git push origin $VERSION
14
+ echo "Creating Release"
15
+ gh release create $VERSION --title "Release $VERSION" --notes ""
16
+else
17
+ echo "RELEASE FAILED! Could not fast-forward release to $MAJOR_VERSION"
18
+fi
19
0 commit comments