summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@chef.io>2018-04-11 14:01:34 +0100
committerThom May <thom@chef.io>2018-04-11 16:36:20 +0100
commit8c80d762a502b4bcfe3289b361d8292867b5f43f (patch)
tree6ba0c6158fda5f053c4326b4670fc0b6173f783c
parentee7cf0e98d4012373a4dc55c14635d78fe8ea2b0 (diff)
downloadmixlib-log-tm/expedite.tar.gz
enable expeditortm/expedite
Signed-off-by: Thom May <thom@chef.io>
-rw-r--r--.expeditor/config.yml43
-rwxr-xr-x.expeditor/update_version.sh12
-rw-r--r--CHANGELOG.md8
-rw-r--r--VERSION1
4 files changed, 64 insertions, 0 deletions
diff --git a/.expeditor/config.yml b/.expeditor/config.yml
new file mode 100644
index 0000000..8fc137b
--- /dev/null
+++ b/.expeditor/config.yml
@@ -0,0 +1,43 @@
+# Documentation available at http://expeditor-docs.es.chef.io/
+
+# Slack channel in Chef Software slack to send notifications about build failures, etc
+slack:
+ notify_channel: chef-notify
+
+rubygems:
+ - mixlib-log
+
+github:
+ # The tag format to use (e.g. v1.0.0)
+ version_tag_format: "v{{version}}"
+ # The Github Team primarily responsible for handling incoming Pull Requests.
+ maintainer_group: chef/client-maintainers
+ # Which Github branches to build gems from, and what versions
+ # (as determined by the value in the VERSION file) those branches are responsible
+ # for building.
+ release_branch:
+ - master:
+ version_constraint: 2.*
+
+promote:
+ action:
+ - built_in:publish_rubygems
+ - built_in:rollover_changelog
+
+# These actions are taken, in order they are specified, anytime a Pull Request is merged.
+merge_actions:
+ - built_in:bump_version:
+ ignore_labels:
+ - "Version: Skip Bump"
+ - "Expeditor: Skip Version Bump"
+ - "Expeditor: Skip All"
+ - bash:.expeditor/update_version.sh:
+ only_if: built_in:bump_version
+ - built_in:update_changelog:
+ ignore_labels:
+ - "Meta: Exclude From Changelog"
+ - "Expeditor: Exclude From Changelog"
+ - "Expeditor: Skip All"
+ - built_in:build_gem:
+ only_if: built_in:bump_version
+
diff --git a/.expeditor/update_version.sh b/.expeditor/update_version.sh
new file mode 100755
index 0000000..7fc31f4
--- /dev/null
+++ b/.expeditor/update_version.sh
@@ -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/mixlib/log/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.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2075bbb..45adae4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Change Log
+<!-- latest_release -->
+<!-- latest_release -->
+
+<!-- release_rollup -->
+<!-- release_rollup -->
+
+<!-- latest_stable_release -->
## [2.0.1](https://github.com/chef/mixlib-log/tree/2.0.1) (2018-02-28)
[Full Changelog](https://github.com/chef/mixlib-log/compare/v2.0.0...2.0.1)
@@ -7,6 +14,7 @@
- enable metadata to be got and set [\#32](https://github.com/chef/mixlib-log/pull/32) ([thommay](https://github.com/thommay))
- Logging methods \(debug, info, warn, error, fatal\) all return nil [\#27](https://github.com/chef/mixlib-log/pull/27) ([olleolleolle](https://github.com/olleolleolle))
+<!-- latest_stable_release -->
## [v2.0.0](https://github.com/chef/mixlib-log/tree/v2.0.0) (2018-02-27)
[Full Changelog](https://github.com/chef/mixlib-log/compare/v1.7.1...v2.0.0)
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..50ffc5a
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+2.0.3