diff --git a/.buildkite/publish/dra/publish-daily-release-artifact.sh b/.buildkite/publish/dra/publish-daily-release-artifact.sh index 0428ed37d..e32e89ae2 100755 --- a/.buildkite/publish/dra/publish-daily-release-artifact.sh +++ b/.buildkite/publish/dra/publish-daily-release-artifact.sh @@ -55,6 +55,12 @@ if [[ "${WORKFLOW:-}" != "staging" && "${WORKFLOW:-}" != "snapshot" ]]; then exit 2 fi +# snapshot workflows do not use qualifiers +if [[ "${WORKFLOW:-}" == "snapshot" ]]; then + echo "overriding any local VERSION_QUALIFIER for SNAPSHOT workflow" + VERSION_QUALIFIER="" +fi + # Version. This is pulled from config/product_version. if [[ "${VERSION:-}" == "" ]]; then echo "ERROR: VERSION required!" diff --git a/docs/RELEASING.md b/docs/RELEASING.md index fc229a73b..ea42d1abe 100644 --- a/docs/RELEASING.md +++ b/docs/RELEASING.md @@ -34,6 +34,8 @@ and add an Environment Variable for `VERSION_QUALIFIER` with the value of the pr For example, to release 9.0.0-BC1, you would set `VERSION_QUALIFIER=BC1` for this build. +Note that the qualified artifacts will only show up in DRA "staging" but not "snapshot" reports. + ### In-Between releases Sometimes, we need to release Connectors independently of the Elastic unified-release.