Skip to content

Commit

Permalink
rework workaround
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed May 26, 2024
1 parent 4573379 commit 76999f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions build-bin/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ if [ "${version}" = "master" ]; then
version=$(sed -En 's/.*<version>(.*)<\/version>.*/\1/p' pom.xml| head -1)
fi

# TODO: remove -DignoreSnapshots=true after ES 8.14.0 is released
build-bin/maven/maven_deploy -DignoreSnapshots=true
build-bin/maven/maven_deploy
export RELEASE_FROM_MAVEN_BUILD=true
build-bin/docker_push ${version}
3 changes: 2 additions & 1 deletion build-bin/maven/maven_deploy
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ export MAVEN_OPTS="$($(dirname "$0")/maven_opts)"
# This script deploys a SNAPSHOT or release version to Sonatype.
#
# Note: In CI, `configure_maven_deploy` must be called before invoking this.
./mvnw --batch-mode -s ./.settings.xml -Prelease -nsu -DskipTests clean deploy $@
# TODO: remove -DignoreSnapshots=true and add -nsu to the mvn command after ES 8.14.0 is released
./mvnw --batch-mode -s ./.settings.xml -Prelease -DignoreSnapshots=true -DskipTests clean deploy $@

0 comments on commit 76999f6

Please sign in to comment.