mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-22 07:03:35 -06:00
allow bumping versions
This commit is contained in:
parent
c19b2388e0
commit
8a2c696eb0
@ -1,4 +1,5 @@
|
||||
- 5facaddfe (HEAD -> prerelease-testing, origin/prerelease-testing) actions testing
|
||||
- c19b2388e (HEAD -> main, origin/prerelease-testing, prerelease-testing) standardize on main/preview/release naming
|
||||
- 5facaddfe (tag: 5.17.1-prerelease) actions testing
|
||||
- 33c55809d actions testing
|
||||
- fcdddf307 simplify version
|
||||
- ac7f5762c actions cleanup
|
||||
@ -16,7 +17,7 @@
|
||||
- 4eb07e046 do not run build when prerelease is already selected
|
||||
- 961f420de defer prerelease tagging until staging is complete
|
||||
- 08040f9ad actions testing
|
||||
- 4b416ccf6 (main) use revision instead of version for module dependency
|
||||
- 4b416ccf6 use revision instead of version for module dependency
|
||||
- e7959e5bb Merge branch 'main' of github.com:nosqlbench/nosqlbench
|
||||
- 362e3c6cd (origin/main) Merge pull request #942 from nosqlbench/nosqlbench-937
|
||||
- 839e4d16b Merge pull request #943 from nosqlbench/nosqlbench-941-annotators
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
<properties>
|
||||
|
||||
<revision>5.17.1-SNAPSHOT</revision>
|
||||
<revision>5.17.2-SNAPSHOT</revision>
|
||||
<!-- Set this level to override the logging level for tests during build -->
|
||||
<project.testlevel>INFO</project.testlevel>
|
||||
<!-- Set this level to override the logging level for tests logging configuration during build -->
|
||||
|
12
scripts/bump-minor-version
Executable file
12
scripts/bump-minor-version
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
cd mvn-defaults
|
||||
set -x
|
||||
CURRENT_VERSION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)
|
||||
RELEASE_VERSION=${CURRENT_VERSION%%-SNAPSHOT}
|
||||
BASE_VERSION=$(echo "$RELEASE_VERSION" | cut -d'.' -f1-2)
|
||||
MINOR_VERSION=$(echo "$RELEASE_VERSION" | cut -d'.' -f3)
|
||||
NEXT_MINOR_VERSION=$(( $MINOR_VERSION + 1 ))
|
||||
NEXT_SNAPSHOT="${BASE_VERSION}.${NEXT_MINOR_VERSION}-SNAPSHOT"
|
||||
printf "next-snapshot: %s\n" "${NEXT_SNAPSHOT}"
|
||||
mvn versions:set-property -DallowSnapshots -DnewVersion="${NEXT_SNAPSHOT}" -Dproperty=revision
|
||||
|
Loading…
Reference in New Issue
Block a user