Create branch as orphan and push to origin

This commit is contained in:
Alpyne 2020-07-20 20:40:46 -07:00
parent 225377ea05
commit d14e8a1cf3
1 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,7 @@ fi
# new branch
echo "Creating branch '$1'"
git checkout -b $1
git checkout --orphan -b $1
# find our version.json file
echo 'Reading version_manifest.json...'
@ -46,5 +46,8 @@ echo "Decompiling client.jar..."
$enigma decompile procyon client.jar src client.mappings
echo "Committing changes..."
git add *
git add src/*
git commit -m "Update to $1"
echo "Pushing to origin..."
git push origin $1