mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Fix version string in changelog generator
When I made the change to pull the version from ENV (as is used during the bump_version rake task), I neglected to prefix it with a "v", which causes the "full changelog" links to be incorrect. Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
febce5e5a1
commit
6c006f5425
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ begin
|
|||
# bump_version Rake task). If it doesn't exist, use Inspec::VERSION. We can't rely
|
||||
# on Inspec::VERSION because we may have already "require'd" Inspec by the time
|
||||
# we've gotten here and the version has been bumped with bump_version.
|
||||
config.future_release = ENV.fetch('to', "v#{Inspec::VERSION}")
|
||||
config.future_release = "v#{ENV.fetch('to', Inspec::VERSION)}"
|
||||
|
||||
# only generate changelog records for pull requests merged since v1.20.0
|
||||
# which is the version we started tagging PRs for.
|
||||
|
|
Loading…
Reference in a new issue