We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab3d427 + 46d6ba9 commit 3007cdaCopy full SHA for 3007cda
1 file changed
Makefile
@@ -376,7 +376,7 @@ debug-version:
376
377
# It's not so hard to do this by hand, but let's save some typing
378
bump-minor-version:
379
- @yq '(((. * 10) + 1) / 10)' -i $(VERSION_FILE) && \
+ @yq '(. | to_string | split(".") | .[0] + "." + (.[1] | to_number + 1 | to_string))' -i $(VERSION_FILE) && \
380
git add $(VERSION_FILE) && \
381
git commit $(VERSION_FILE) \
382
-m "Bump minor version to $$(cat $(VERSION_FILE))" \
0 commit comments