mirror of
https://github.com/drewcassidy/yaclog.git
synced 2024-09-01 14:58:58 +00:00
Release Version 1.0.2
### Changed - Updated to support Click version 8 - Modified module documentation page titles to include a module role ### Fixed - Fixed tag names with spaces in versions
This commit is contained in:
parent
52fc36ab70
commit
5a6cb51d71
2
.github/workflows/python-publish.yml
vendored
2
.github/workflows/python-publish.yml
vendored
@ -64,7 +64,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get version name and body
|
- name: Get version name and body
|
||||||
run: |
|
run: |
|
||||||
echo "VERSION_TILE=Version $(yaclog show -n)" >> $GITHUB_ENV
|
echo "VERSION_TILE=$(yaclog show -n)" >> $GITHUB_ENV
|
||||||
echo "$(yaclog show -mb)" >> RELEASE.md
|
echo "$(yaclog show -mb)" >> RELEASE.md
|
||||||
|
|
||||||
- name: Publish to PyPI
|
- name: Publish to PyPI
|
||||||
|
@ -262,7 +262,7 @@ def release(obj: Changelog, version_name, rel_seg, pre_seg, commit):
|
|||||||
click.confirm(' '.join(message), abort=True)
|
click.confirm(' '.join(message), abort=True)
|
||||||
|
|
||||||
if tracked > 0:
|
if tracked > 0:
|
||||||
commit = repo.index.commit(f'Version {cur_version.name}\n\n{cur_version.body()}')
|
commit = repo.index.commit(f'Release {cur_version.name}\n\n{cur_version.body()}')
|
||||||
click.echo(f"Created commit {click.style(repo.head.commit.hexsha[0:7], fg='green')}")
|
click.echo(f"Created commit {click.style(repo.head.commit.hexsha[0:7], fg='green')}")
|
||||||
else:
|
else:
|
||||||
commit = repo.head.commit
|
commit = repo.head.commit
|
||||||
|
Loading…
Reference in New Issue
Block a user