Don't check for uncommited changes
This commit is contained in:
parent
a53368de61
commit
7d0d3b676f
@ -10,12 +10,6 @@ IMAGE_NAME="nise-backend"
|
|||||||
IMAGE_REGISTRY="git.gengo.tech/nuff"
|
IMAGE_REGISTRY="git.gengo.tech/nuff"
|
||||||
IMAGE_VERSION="latest"
|
IMAGE_VERSION="latest"
|
||||||
|
|
||||||
# Check if there are uncommitted changes
|
|
||||||
if [[ -n $(git status --porcelain) ]]; then
|
|
||||||
echo "Error: There are uncommitted changes. Please commit them before building."
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf target/
|
rm -rf target/
|
||||||
|
|
||||||
# Clean and build Maven project
|
# Clean and build Maven project
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user