mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
Update expeditor version-update script (#2312)
PR #2311 updated the Rubocop engine to use Ruby 2.3 to evaluate, and the default behavior is to no longer require `.freeze` to be added to string literals that are treated like constants. This caused the pattern match used in the Expeditor version update script to no longer work. Also manually fixing the `lib/inspec/version.rb` file to be correct. Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
e40bf36bad
commit
6ccc8aad26
2 changed files with 2 additions and 2 deletions
|
@ -6,4 +6,4 @@
|
|||
|
||||
set -evx
|
||||
|
||||
sed -i -r "s/VERSION = '.+'\.freeze/VERSION = '$(cat VERSION)'\.freeze/" lib/inspec/version.rb
|
||||
sed -i -r "s/VERSION = '.*'/VERSION = '$(cat VERSION)'/" lib/inspec/version.rb
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
# author: Christoph Hartmann
|
||||
|
||||
module Inspec
|
||||
VERSION = '1.45.7'
|
||||
VERSION = '1.45.8'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue