mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Must be in master branch before you can release
This commit is contained in:
parent
6c1b2786ec
commit
c1917b7d0a
|
@ -39,6 +39,12 @@ if [ ! -z "$(git status --porcelain)" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Check that we are in the master branch
|
||||
if [ "$(git symbolic-ref --short HEAD)" != "master" ]; then
|
||||
echo "You must be in the master branch before releasing"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Sanity check to make sure the build works
|
||||
(cd agb && cargo test)
|
||||
(cd agb-image-converter && cargo test)
|
||||
|
|
Loading…
Reference in a new issue