mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Backport PR #14645 to 7.17: Avoid to pass SNAPSHOT particle to the version 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 b8792107ad
)
Co-authored-by: Andrea Selva <selva.andre@gmail.com>
This commit is contained in:
parent
3c98813855
commit
2369e16fc1
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue