Skip to content

Commit

Permalink
fix: the changelog generator now supports URLs ending in .git
Browse files Browse the repository at this point in the history
  • Loading branch information
hearot committed Aug 26, 2020
1 parent 937164c commit 0506f07
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- Do not raise `UnboundLocalError` anymore ([ce46b4f4a094cede204f01275fa9973b4a90e0cc](https://github.com/hearot/pyrubrum/commit/ce46b4f4a094cede204f01275fa9973b4a90e0cc))
- Keep backwards compatibility for `sphinx` ([f6a5e9c3163c619abe5dc199545879bd4d0ddccf](https://github.com/hearot/pyrubrum/commit/f6a5e9c3163c619abe5dc199545879bd4d0ddccf))
- Set `master_doc` to `index` ([0042b2e78e1e9f4b299fb81eb8eb167e4b8287d4](https://github.com/hearot/pyrubrum/commit/0042b2e78e1e9f4b299fb81eb8eb167e4b8287d4))
- The changelog generator now supports URLs ending in .git

### New features

Expand All @@ -25,7 +26,7 @@

### ‼️ Breaking changes

- Update to Pyrogram 1.0
- Update to Pyrogram 1.0 ([937164ce11a2d7e85e8e2e7551dffe3c10194dd8](https://github.com/hearot/pyrubrum/commit/937164ce11a2d7e85e8e2e7551dffe3c10194dd8))

## v0.1a2 - 2020-06-19

Expand Down
3 changes: 2 additions & 1 deletion FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Do not raise `UnboundLocalError` anymore ([ce46b4f4a094cede204f01275fa9973b4a90e0cc](https://github.com/hearot/pyrubrum/commit/ce46b4f4a094cede204f01275fa9973b4a90e0cc))
- Keep backwards compatibility for `sphinx` ([f6a5e9c3163c619abe5dc199545879bd4d0ddccf](https://github.com/hearot/pyrubrum/commit/f6a5e9c3163c619abe5dc199545879bd4d0ddccf))
- Set `master_doc` to `index` ([0042b2e78e1e9f4b299fb81eb8eb167e4b8287d4](https://github.com/hearot/pyrubrum/commit/0042b2e78e1e9f4b299fb81eb8eb167e4b8287d4))
- The changelog generator now supports URLs ending in .git

### New features

Expand All @@ -21,4 +22,4 @@

### ‼️ Breaking changes

- Update to Pyrogram 1.0
- Update to Pyrogram 1.0 ([937164ce11a2d7e85e8e2e7551dffe3c10194dd8](https://github.com/hearot/pyrubrum/commit/937164ce11a2d7e85e8e2e7551dffe3c10194dd8))
2 changes: 1 addition & 1 deletion changelog_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
CHANGELOG_FILE = "CHANGELOG.md"
COMMIT_URL_FORMAT = "https://github.com/%s/%s/commit/%%s"
COMMIT_URL = ""
COMMIT_URL_REGEX = r"git@github.com:(.+)\/(.+).git"
COMMIT_URL_REGEX = r"git@github.com:([A-Za-z_]+)\/([A-Za-z_]+)(?:\.git)?"
CURRENT_VERSION = "Current version"
FEATURES_FILE = "FEATURES.md"
CONVENTIONAL_COMMITS_REGEX = r"^([a-z]+)(!)?(?:\([a-z]+\)+)?: ([^\n]+)+$"
Expand Down

0 comments on commit 0506f07

Please sign in to comment.