Skip to content

Commit 1f52f7b

Browse files
Merge pull request #342 from miharp/fix/openbolt-version-note-336
Use version tag, not SHA, in OpenBolt generated note
2 parents 0904477 + 40268a2 commit 1f52f7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/puppet_references/openbolt

lib/puppet_references/openbolt/docs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def copy_reference_pages
5959
# leading H1 (the placement make_header uses for the other collections).
6060
# Falls back to after the YAML front matter, then to the top of the file.
6161
def insert_generated_note(content)
62-
note = PuppetReferences::Util.generated_note('OpenBolt', @commit)
62+
note = PuppetReferences::Util.generated_note('OpenBolt', PuppetReferences.version_commit)
6363
if (m = content.match(/\A(---\n.*?\n---\n\n)?(# [^\n]*\n)/m))
6464
"#{m[1]}#{m[2]}\n#{note}\n#{m.post_match}"
6565
elsif (m = content.match(/\A(---\n.*?\n---\n)/m))

0 commit comments

Comments
 (0)