Skip to content

Commit 8947884

Browse files
committed
fix(Build): Get the correct version increment for prereleases.
1 parent a2c4fca commit 8947884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ifeq ($(LEVEL),$(filter $(LEVEL), alpha beta))
9494
@# Set level argument for release-it.
9595
$(eval RELEASE_IT_LEVEL := "--preRelease=$(LEVEL)")
9696
@# Get the next version via semver.
97-
$(eval NEXT_VERSION := $(shell npx semver --increment premajor --preid $(LEVEL) $(CURRENT_VERSION)))
97+
$(eval NEXT_VERSION := $(shell npx semver --increment prerelease --preid $(LEVEL) $(CURRENT_VERSION)))
9898
else
9999
@# case normal major/minor/patch release
100100

0 commit comments

Comments
 (0)