Skip to content

Commit

Permalink
Release Version 1.4.1
Browse files Browse the repository at this point in the history
### Fixed

- Fixed escape characters being included in github actions body file

### Added

- Added pypi tags for python 3.11 and 3.12
  • Loading branch information
drewcassidy committed Aug 25, 2024
1 parent b0d6288 commit 7a8b3c7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
25 changes: 18 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,49 @@

All notable changes to this project will be documented in this file

## Version 1.4.1 - 2024-08-25

### Fixed

- Fixed escape characters being included in github actions body file

### Added

- Added pypi tags for python 3.11 and 3.12


## Version 1.4.0 - 2024-08-25

### Added

- added a github action to the repository. The action can create new releases and fetch version information. For mor information see the "Github Actions" page in the handbook
- Added a github action to the repository. The action can create new releases and fetch version information. For more information see the "Github Actions" page in the handbook


## Version 1.3.0 - 2024-08-08

### Added

- added a `--version` option to `yaclog show` that prints just the version number
- Added a `--version` option to `yaclog show` that prints just the version number

### Changed

- removed support for Click 7 as a dependency
- Removed support for Click 7 as a dependency


## Version 1.2.0 - 2024-04-16

### Added

- added the `-s` option to `yaclog release` to increment arbitrary version segments
- added the `-n` option to `yaclog release` to create a new release instead of releasing a new one
- added the `-y` option to `yaclog release` to answer "yes" to all confirmation dialogs. Use with caution!
- Added the `-s` option to `yaclog release` to increment arbitrary version segments
- Added the `-n` option to `yaclog release` to create a new release instead of releasing a new one
- Added the `-y` option to `yaclog release` to answer "yes" to all confirmation dialogs. Use with caution!


## Version 1.1.2 - 2022-12-29

### Changed

- yaclog now only tries to use git when invoked with a command that needs it, meaning most sub commands can now be used on systems without git
- Yaclog now only tries to use git when invoked with a command that needs it, meaning most sub commands can now be used on systems without git


## Version 1.1.1 - 2022-08-15
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ classifiers = [
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Text Processing :: Markup :: Markdown",
"Topic :: Software Development :: Version Control :: Git",
"Topic :: Utilities"
Expand Down
4 changes: 3 additions & 1 deletion yaclog/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import datetime
import os.path
from sys import stdout

import click

Expand Down Expand Up @@ -91,7 +92,7 @@ def show(obj: Changelog, all_versions, markdown, mode, version_names, gh_actions
}

str_func = functions[mode]
kwargs = {'md': markdown, 'color': True}
kwargs = {'md': markdown, 'color': stdout.isatty()}

try:
if all_versions:
Expand All @@ -115,6 +116,7 @@ def show(obj: Changelog, all_versions, markdown, mode, version_names, gh_actions
if gh_actions:
import tempfile

kwargs['color'] = False
all_modes = [ 'name', 'header', 'version' ]
outputs = [f'{mode}={sep.join([functions[mode](v, kwargs) for v in versions])}' for mode in all_modes]
click.echo('\n'.join(outputs))
Expand Down

0 comments on commit 7a8b3c7

Please sign in to comment.