mirror of
https://github.com/inspec/inspec
synced 2024-11-16 01:38:03 +00:00
e06c943599
This change updates this repo to begin using the following standard behavior from Expeditor following a merge to the master branch: * Automatically bump the `PATCH` version in the `VERSION` file (see https://git.io/vQQYR) * Create a git tag for the new version (see https://git.io/vQQYR) * Trigger a release build on manhattan.ci.chef.co using the new tag (see https://git.io/vQQY1) * Automatically update CHANGELOG (coming soon...the `built_in:update_changelog` merge action is in development) More details on Expeditor can be found at: https://github.com/chef/es-lita/tree/master/lita-expeditor Signed-off-by: Seth Chisamore <schisamo@chef.io>
9 lines
295 B
Bash
Executable file
9 lines
295 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 = '.+'\.freeze/VERSION = '$(cat VERSION)'\.freeze/" lib/inspec/version.rb
|