From 6ff69d7cbb8107daa3475bbedc621032af57477f Mon Sep 17 00:00:00 2001 From: Tibor Leupold Date: Wed, 29 Nov 2023 13:58:15 -0800 Subject: [PATCH 1/2] Add sections to "unreleased" entry --- CHANGELOG.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8da380e..2cff896 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- ... + +### Changed + +- ... + +### Removed + +- ... + ## [0.1.0] - 2023-11-29 ### Added From 3b791522fba2bf816ae9c1a76a286ec59573838e Mon Sep 17 00:00:00 2001 From: Tibor Leupold Date: Wed, 29 Nov 2023 14:00:19 -0800 Subject: [PATCH 2/2] Add tag info to publish instructions --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 96d623d..48c7ebf 100644 --- a/README.md +++ b/README.md @@ -315,6 +315,10 @@ To enable the use, you want to set the environment variable `VIRTUALENV_DISCOVER This project uses the [Trusted Publisher model for PyPI releases](https://docs.pypi.org/trusted-publishers/). This means that publishing is done through GitHub Actions when a [new release is created on GitHub](https://github.com/tbrlpld/laces/releases/new). +To create a release you need a Git tag. +The tag can either be created on the command line and pushed or in the "create release" interface on GitHub. +The tag name should be the version number prefixed with a `v` (e.g. `v0.1.0`). + Before publishing a new release, make sure to update the changelog in `CHANGELOG.md` and the version number in `laces/__init__.py`. To manually test publishing the package, you can use `flit`.