Skip to content

Releases: octue/check-semantic-version

Fix release process for stable releases

25 Jul 11:20
cc2f0e9
Compare
Choose a tag to compare

Contents (#17)

Operations

  • Fix release process for stable releases

1.0.0

25 Jul 10:59
Compare
Choose a tag to compare

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

19 Dec 17:31
1129a8b
Compare
Choose a tag to compare

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

19 Dec 17:19
861f340
Compare
Choose a tag to compare

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

19 Dec 17:01
Compare
Choose a tag to compare

Contents

Enhancements

  • Raise error if subprocesses fail

Improve logging

19 Dec 16:37
Compare
Choose a tag to compare

Contents

Enhancements

  • Send logs to stdout and set log level to INFO

Improve package structure

19 Dec 16:16
db84979
Compare
Choose a tag to compare

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

19 Dec 14:58
Compare
Choose a tag to compare

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

18 Oct 19:01
7b96486
Compare
Choose a tag to compare

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 representing mkver.conf files

Operations

  • Update workflow with new input

Dependencies

  • Add pyhocon dependency

Use clearer inputs for action

13 Oct 16:52
b95e43f
Compare
Choose a tag to compare

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.