TudbuT
9198ba98cc
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m44s
11 lines
No EOL
240 B
Bash
11 lines
No EOL
240 B
Bash
#!/bin/bash
|
|
|
|
if ! git diff-index --quiet --cached HEAD -- ; then
|
|
echo "Cannot release dirty git tree. Commit your changes to main first."
|
|
exit 1
|
|
fi
|
|
git push "$@"
|
|
git checkout release
|
|
git reset --hard main
|
|
git push "$@"
|
|
git checkout main |