Skip to content

Commit

Permalink
Backport PR #14645 to 7.17: Avoid to pass SNAPSHOT particle to the ve…
Browse files Browse the repository at this point in the history
…rsion passed to release-manager #14649

The version passed to the release-manager doesn't need the SNAPSHOT particle because already handled by the --workflow="snapshot", if inserted make the release manager to search for artifacts named as 8.5.0-SNAPSHOT-SNAPSHOT

(cherry picked from commit b879210)

Co-authored-by: Andrea Selva <[email protected]>
  • Loading branch information
github-actions[bot] and andsel committed Oct 13, 2022
1 parent 3c98813 commit 2369e16
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/dra_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export JRUBY_OPTS="-J-Xmx1g"
# e.g.: 8.6.0
# The suffix part like alpha1 etc is managed by the optional VERSION_QUALIFIER_OPT environment variable
STACK_VERSION=`cat versions.yml | sed -n 's/^logstash\:[[:space:]]\([[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\)$/\1/p'`
PLAIN_STACK_VERSION=$STACK_VERSION

# This is the branch selector that needs to be passed to the release-manager
# It has to be the name of the branch which originates the artifacts.
Expand Down Expand Up @@ -119,5 +120,5 @@ docker run --rm \
--branch ${RELEASE_BRANCH} \
--commit "$(git rev-parse HEAD)" \
--workflow "${WORKFLOW}" \
--version "${STACK_VERSION}" \
--version "${PLAIN_STACK_VERSION}" \
--artifact-set main

0 comments on commit 2369e16

Please sign in to comment.