From 5a6cb51d7115dc9cbcd181ff5bc00aac41870f0c Mon Sep 17 00:00:00 2001 From: drewcassidy Date: Tue, 11 May 2021 19:33:56 -0700 Subject: [PATCH] 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 --- .github/workflows/python-publish.yml | 2 +- yaclog/cli/__main__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index f4feb95..680d148 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -64,7 +64,7 @@ jobs: - name: Get version name and body run: | - echo "VERSION_TILE=Version $(yaclog show -n)" >> $GITHUB_ENV + echo "VERSION_TILE=$(yaclog show -n)" >> $GITHUB_ENV echo "$(yaclog show -mb)" >> RELEASE.md - name: Publish to PyPI diff --git a/yaclog/cli/__main__.py b/yaclog/cli/__main__.py index f783d90..08cd5da 100644 --- a/yaclog/cli/__main__.py +++ b/yaclog/cli/__main__.py @@ -262,7 +262,7 @@ def release(obj: Changelog, version_name, rel_seg, pre_seg, commit): click.confirm(' '.join(message), abort=True) 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')}") else: commit = repo.head.commit