mirror of
https://github.com/inspec/inspec
synced 2024-12-04 18:39:43 +00:00
5ac54d85e9
Signed-off-by: tyler-ball <tball@chef.io>
10 lines
373 B
Bash
Executable file
10 lines
373 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# After a PR merge, Chef Expeditor will bump the PATCH version in the VERSION file.
|
|
# It then executes this file to update any other files/components with that new version.
|
|
#
|
|
|
|
set -evx
|
|
|
|
sed -i -r "s/VERSION = '.*'/VERSION = '$(cat VERSION)'/" lib/inspec/version.rb
|
|
sed -i -r "s/VERSION = '.*'/VERSION = '$(cat VERSION)'/" inspec-bin/lib/inspec-bin/version.rb
|