Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ bump-patch:
new="$$major.$$minor.$$((patch + 1))"; \
echo $$new > VERSION; \
git add VERSION; \
git commit -m "Bump version to $$new"; \
git tag v$$new
git commit -S -m "Bump version to $$new"; \
git tag -s v$$new -m "v$$new"

# Bump the minor segment (X.Y.Z → X.Y+1.0), commit, and tag.
bump-minor:
Expand All @@ -65,8 +65,8 @@ bump-minor:
new="$$major.$$((minor + 1)).0"; \
echo $$new > VERSION; \
git add VERSION; \
git commit -m "Bump version to $$new"; \
git tag v$$new
git commit -S -m "Bump version to $$new"; \
git tag -s v$$new -m "v$$new"

# Bump the major segment (X.Y.Z → X+1.0.0), commit, and tag.
bump-major:
Expand All @@ -75,8 +75,8 @@ bump-major:
new="$$((major + 1)).0.0"; \
echo $$new > VERSION; \
git add VERSION; \
git commit -m "Bump version to $$new"; \
git tag v$$new
git commit -S -m "Bump version to $$new"; \
git tag -s v$$new -m "v$$new"

# Set an explicit version. Usage: make set-version V=1.2.3
set-version:
Expand All @@ -85,8 +85,8 @@ ifndef V
endif
echo $(V) > VERSION
git add VERSION
git commit -m "Bump version to $(V)"
git tag v$(V)
git commit -S -m "Bump version to $(V)"
git tag -s v$(V) -m "v$(V)"

# Push the integration branch for preview/testing.
deploy-preview:
Expand Down