fix: use git add -f to bypass spurious ignore on cmd/server
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user