dont use qualifier or snapshot in logstash core version

Fixes #11813
This commit is contained in:
Joao Duarte 2020-04-20 15:38:07 +01:00 committed by João Duarte
parent 3962b05aca
commit c0db7f4350
2 changed files with 2 additions and 4 deletions

View file

@ -28,6 +28,5 @@ unless defined?(LOGSTASH_CORE_PLUGIN_API)
end
unless defined?(LOGSTASH_CORE_VERSION)
# PACKAGE_SUFFIX is declared in the artifact namespace from artifacts.rake
LOGSTASH_CORE_VERSION = defined?(PACKAGE_SUFFIX) ? "#{ALL_VERSIONS.fetch("logstash-core")}#{PACKAGE_SUFFIX}" : ALL_VERSIONS.fetch("logstash-core")
LOGSTASH_CORE_VERSION = ALL_VERSIONS.fetch("logstash-core")
end

View file

@ -24,6 +24,5 @@ if !defined?(ALL_VERSIONS)
end
if !defined?(LOGSTASH_CORE_VERSION)
# PACKAGE_SUFFIX is declared in the artifact namespace from artifacts.rake
LOGSTASH_CORE_VERSION = defined?(PACKAGE_SUFFIX) ? "#{ALL_VERSIONS.fetch("logstash-core")}#{PACKAGE_SUFFIX}" : ALL_VERSIONS.fetch("logstash-core")
LOGSTASH_CORE_VERSION = ALL_VERSIONS.fetch("logstash-core")
end