Commit f1cab366 authored by Scott Hain's avatar Scott Hain
Browse files

Enable expeditor for builds and versioning



Signed-off-by: default avatarScott Hain <shain@chef.io>
parent b27819d6
slack:
notify_channel: omnibus-rfr
github:
maintainer_group: chef/omnibus-maintainers
version_tag_format: "v{{version}}"
merge_actions:
- built_in:bump_version:
ignore_labels:
- "Version: Skip Bump"
- bash:.expeditor/update_version.sh:
only_if:
- built_in:bump_version
- built_in:build_gem
#!/bin/sh
#
# 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/^(\s*)VERSION = \".+\"/\1VERSION = \"$(cat VERSION)\"/" lib/omnibus/version.rb
# Once Expeditor finshes executing this script, it will commit the changes and push
# the commit as a new tag corresponding to the value in the VERSION file.
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment