mirror of
https://github.com/CapsAdmin/pac3.git
synced 2025-03-04 03:03:01 -05:00
make sure git status is clean before pushing to workshop
This commit is contained in:
parent
d04c417752
commit
cd65ad180c
@ -1,7 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
WORKSHOP_ID=104691717
|
WORKSHOP_ID=104691717
|
||||||
|
|
||||||
|
if [ "$(git status --porcelain)" ]; then
|
||||||
|
echo "You have uncommitted changes in your workspace."
|
||||||
|
echo "Please commit or stash them before continuing."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
gmad='../../../bin/gmad'
|
gmad='../../../bin/gmad'
|
||||||
gmpublish='../../../gmpublish'
|
gmpublish='../../../gmpublish'
|
||||||
|
Loading…
Reference in New Issue
Block a user