version fixes

This commit is contained in:
Jonathan Shook 2023-01-23 17:20:07 -06:00
parent 1adb4e4af9
commit adb40cec4d
4 changed files with 3 additions and 27 deletions

View File

@ -72,7 +72,6 @@ jobs:
echo "PRERELEASE_REVISION=${PRERELEASE_REVISION}" >> $GITHUB_ENV
echo "DOCKER_TAGS=nosqlbench/nosqlbench:${PRERELEASE_REVISION}-prerelease,nosqlbench/nosqlbench:prerelease" >> $GITHUB_ENV
- name: build prerelease revision
run: |
mvn package -Drevision="${{ env.PRERELEASE_REVISION }}"

View File

@ -1,4 +1,5 @@
- 801ed23ce (HEAD -> prerelease-testing, origin/prerelease-testing) fix revision var
- 1adb4e4af (HEAD -> prerelease-testing, origin/prerelease-testing) fix version, again
- 801ed23ce fix revision var
- 430bee3eb fix version reference
- 1f5b133f9 version fixes
- 1793eb22f fixed script name

View File

@ -19,4 +19,4 @@ set -e
export REVISION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)
export PRERELEASE_REVISION=$(echo "${REVISION}" | cut -d'-' -f1)
printf "%s\n" "${PRERELEASE_REVISION}"
printf "%s-prerelease\n" "${PRERELEASE_REVISION}"

View File

@ -1,24 +0,0 @@
#!/bin/bash
#
# Copyright (c) 2023 nosqlbench
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set -e
set -x
export REVISION=$(mvn help:evaluate -Dexpression=revision -q -DforceStdout)
export PRERELEASE_REVISION=$(echo "${REVISION}" | cut -d'-' -f1)
printf "REVISION: '%s' PRERELEASE_REVISION: '%s'\n" "${REVISION}" "${PRERELEASE_REVISION}"
mvn package -Drevision="${PRERELEASE_REVISION}"