Skip to content

Commit

Permalink
Accommodate BREAKING tag in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
fullyint committed Jul 28, 2016
1 parent 9231012 commit 41cee83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### HEAD
* Add `vault_users` for easier password management ([#614](https://github.com/roots/trellis/pull/614))
* [BREAKING] Add `vault_users` for easier password management ([#614](https://github.com/roots/trellis/pull/614))
* Fix #581 - Use WP-CLI to run WP cron ([#583](https://github.com/roots/trellis/pull/583))
* Require explicit redirects and drop www_redirect ([#622](https://github.com/roots/trellis/pull/622))
* [BREAKING] Require explicit redirects and drop `www_redirect` ([#622](https://github.com/roots/trellis/pull/622))
* Fix #612 - Bump nginx_fastcgi_buffer_size to `8k` ([#620](https://github.com/roots/trellis/pull/620))
* Setup permalink structure for multisite installs too ([#617](https://github.com/roots/trellis/pull/617))
* Fix `wp_home` option in Multisite after install in development ([#616](https://github.com/roots/trellis/pull/616))
Expand Down
4 changes: 2 additions & 2 deletions lib/trellis/utils/output.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def system(vagrant_version=None):

# Retrieve most recent changelog entry
else:
change = re.search(r'.*\n\*\s*([^\(\n\[]+)', str)
change = re.search(r'^\*\s?(\[BREAKING\])?([^\(\n\[]+)', str, re.M|re.I)
if change is not None:
changelog_msg = '\n Trellis at "{0}"'.format(change.group(1).strip())
changelog_msg = '\n Trellis at "{0}"'.format(change.group(2).strip())

# Vagrant info, if available
vagrant = ' Vagrant {0};'.format(vagrant_version) if vagrant_version else ''
Expand Down

0 comments on commit 41cee83

Please sign in to comment.