Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0495f96f8d | ||
|
|
14beea150d | ||
|
|
1c703f285e | ||
|
|
9799df2147 |
@@ -404,7 +404,8 @@ def tag_command():
|
|||||||
[service, repository] = parse_url(url)
|
[service, repository] = parse_url(url)
|
||||||
create_tag(service, repository, token, new_version, commit)
|
create_tag(service, repository, token, new_version, commit)
|
||||||
|
|
||||||
if update_changelog(merged_branch, branch):
|
merged_commit = Git("show", "HEAD^2", patch=False, format="%H").firstline()
|
||||||
|
if update_changelog(merged_commit, branch):
|
||||||
Git("add", Git.CHANGELOG_FILE).exec()
|
Git("add", Git.CHANGELOG_FILE).exec()
|
||||||
Git("commit", message=Git.BUMP_VERSION).exec()
|
Git("commit", message=Git.BUMP_VERSION).exec()
|
||||||
Git("push").exec()
|
Git("push").exec()
|
||||||
@@ -575,7 +576,7 @@ def get_changelog_content_lines(branch: str, target: str):
|
|||||||
commit_type = message[:index]
|
commit_type = message[:index]
|
||||||
commit_message = message[index+1:]
|
commit_message = message[index+1:]
|
||||||
|
|
||||||
lines.append(f"- **{commit_type}**: {commit_message} por [{username}]({email}) ({commit})")
|
lines.append(f"- **{commit_type}**: {commit_message} [[{username}](mailto:{email})] ({commit})")
|
||||||
|
|
||||||
return lines
|
return lines
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user