-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Automatically build gems for each PR * Publish gems to RubyGems when promoted * Automatically manage CHANGELOG * Have @chef/jex-team be the CODEOWNERS for this repository Signed-off-by: Tom Duffield <[email protected]>
- Loading branch information
Showing
5 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
slack: | ||
notify_channel: releng-notify | ||
|
||
github: | ||
version_tag_format: "v{{version}}" | ||
minor_bump_labels: | ||
- "Version: Bump Minor" | ||
|
||
rubygems: | ||
- license_scout | ||
|
||
merge_actions: | ||
- built_in:bump_version: | ||
ignore_labels: | ||
- "Version: Skip Bump" | ||
- "Expeditor: Skip All" | ||
- bash:.expeditor/update_version.sh: | ||
only_if: | ||
- built_in:bump_version | ||
- built_in:update_changelog: | ||
ignore_labels: | ||
- "Changelog: Skip Update" | ||
- "Expeditor: Skip All" | ||
- built_in:build_gem: | ||
only_if: | ||
- built_in:bump_version | ||
|
||
promote: | ||
action: | ||
- built_in:publish_rubygems | ||
- built_in:rollover_changelog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/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/license_scout/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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Order is important. The last matching pattern has the most precedence. | ||
|
||
* @chef/jex-team |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!-- usage documentation: http://expeditor-docs.es.chef.io/configuration/changelog/ --> | ||
|
||
<!-- latest_release --> | ||
<!-- latest_release --> | ||
|
||
<!-- release_rollup --> | ||
<!-- release_rollup --> | ||
|
||
<!-- latest_stable_release --> | ||
<!-- latest_stable_release --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.1.3 |