Skip to content

Commit

Permalink
try again to ignore
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 75df18b commit cec4f72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ jobs:
# * needs repo:status, public_repo
# * referenced in .settings.xml
GH_TOKEN: ${{ secrets.GH_TOKEN }}
# TODO: remove -DignoreSnapshots=true after ES 8.14.0 is released
run: | # GITHUB_REF will be refs/tags/release-MAJOR.MINOR.PATCH
build-bin/git/login_git &&
build-bin/maven/maven_release $(echo ${GITHUB_REF} | cut -d/ -f 3) -DignoreSnapshots=true
build-bin/maven/maven_release $(echo ${GITHUB_REF} | cut -d/ -f 3)
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_release
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ if [ "$commit_local_release_branch" != "$commit_remote_release_branch" ]; then
fi

# Prepare and push release commits and the version tag (N.N.N), which triggers deployment.
./mvnw --batch-mode -nsu -DreleaseVersion=${release_version} -Denforcer.fail=false -Darguments="-DskipTests -Denforcer.fail=false" release:prepare $@
# TODO: remove -DignoreSnapshots=true after ES 8.14.0 is released
./mvnw --batch-mode -nsu -DignoreSnapshots=true -DreleaseVersion=${release_version} -Denforcer.fail=false -Darguments="-DskipTests -Denforcer.fail=false" release:prepare

0 comments on commit cec4f72

Please sign in to comment.