Skip to content

Commit 79121a1

Browse files
author
Matt Devy
committed
fix(ci): allow maintenance branch releases
1 parent 53d4610 commit 79121a1

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,6 @@ jobs:
7676
abort "CHANGELOG.md has no # #{version} section" unless release
7777
abort "CHANGELOG.md section for #{version} is empty" if release[:body].strip.empty?
7878
79-
documentation = File.read("docs/release-notes/index.md")
80-
expected_heading =
81-
"## #{version} [elasticsearch-ruby-client-#{version}-release-notes]"
82-
83-
unless documentation.lines.any? { |line| line.strip == expected_heading }
84-
abort "docs/release-notes/index.md has no expected #{version} heading"
85-
end
86-
8779
File.open(ENV.fetch("GITHUB_OUTPUT"), "a") do |output|
8880
output.puts "version=#{version}"
8981
end

0 commit comments

Comments
 (0)