Skip to content

Commit

Permalink
Update logstash-core-plugin-api/logstash-core-plugin-api.gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jsvd authored Jan 16, 2025
1 parent b0154a1 commit c17d28c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions logstash-core-plugin-api/logstash-core-plugin-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if File.exist?(project_versions_yaml_path)
# we ignore the copy in git and we overwrite an existing file
# each time we build the logstash-core gem
original_lines = IO.read(project_versions_yaml_path)
# introduce the version qualifier (e.g. beta1, rc1) into the copied yml so it's displayed by Logstash
original_lines.gsub!(/^logstash: (.+?)\n/, "logstash: \\1-#{ENV['VERSION_QUALIFIER']}\n") if ENV['VERSION_QUALIFIER']
original_lines << "\n"
original_lines << "# This is a copy the project level versions.yml into this gem's root and it is created when the gemspec is evaluated."
Expand Down

0 comments on commit c17d28c

Please sign in to comment.