diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 8386594..8292bb7 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -111,7 +111,7 @@ else NEW_VERSION=$(grep -oE 'var version = "[0-9]+\.[0-9]+\.[0-9]+"' cmd/server/main.go | grep -oE '[0-9]+\.[0-9]+\.[0-9]+') [ "$NEW_VERSION" != "$CURRENT_VERSION" ] || die "Version bump failed" - git add cmd/server/main.go Makefile + git add -f cmd/server/main.go Makefile git commit -m "Bump version to $NEW_VERSION" >/dev/null git push || die "git push failed" success "Bumped to $NEW_VERSION and pushed"