Releases: octue/check-semantic-version
Fix release process for stable releases
1.0.0
Stable!
Updates the version of poetry to facilitate use with recent features available in pyproject.toml, and brings the release history to stable (since we've been using beta-9 in production workflows for a long time now!).
Add missing return statement
Contents (#13)
Fixes
- Add missing return statement
Operations
- Use action version available on
main
in CI
Testing
- Fix CLI tests so exit code checks are carried out
Install `jq` in docker image
Summary
Fix a bug where package.json
files couldn't be parsed due to a missing jq
installation in the docker image.
Contents (#12)
Fixes
- Install
jq
in docker image - Allow full paths to be passed in via CLI
Improve subprocess error handling
Contents
Enhancements
- Raise error if subprocesses fail
Improve logging
Contents
Enhancements
- Send logs to
stdout
and set log level toINFO
Improve package structure
Summary
Refactor the package to be more maintainable and avoid less-predictable changing of directories.
Contents (#11)
Enhancements
- Log version source file and
mkver.conf
file paths
Refactoring
- Move CLI into separate module
- Avoid changing directory to access version source files
- Factor out version matching
- Rename private functions
Testing
- Remove outdated tests
- Split tests into two test classes
Always change directory to the directory of the version file
Contents (#10)
Fixes
- Always change directory to the directory of the version file
Chores
- Use new location and latest version for
flake8
pre-commit hook
Remove need for config file
Summary
Remove the need to provide a mkver.conf
file and add the breaking_change_indicated_by
input to the action, allowing the user to specify whether the major
, minor
, or patch
number of the semantic version should be incremented when there's a breaking change.
Contents (#8)
New features
- Generate
mkver.conf
file if not present - Add GHA input to specify which part of the semantic version to increment on breaking change
Enhancements
- Add
Configuration
class representingmkver.conf
files
Operations
- Update workflow with new input
Dependencies
- Add
pyhocon
dependency
Use clearer inputs for action
Contents (#6)
IMPORTANT: There is 1 breaking change.
Enhancements
- 💥 BREAKING CHANGE: Combine action inputs into one
Operations
- Improve workflows
Other
- Improve README
Upgrade instructions
💥 Combine action inputs into one
Replace the version_source_type
and version_source_path
inputs with the new path
input, giving its value as the path to the file containing your package's version information.