diff --git a/CHANGELOG.md b/CHANGELOG.md index a70f9eb..1b173f1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -## [0.5.0] - 2026-04-16 +## [0.5.1] - 2026-04-16 ### Added - CLI options for all remaining env-only variables: `--serial`, `--password`, `--owm-api-key`, `--location`, `--timezone`, `--profile-name`. @@ -72,8 +72,8 @@ Initial public release. - GitHub Actions release workflow using PyPI trusted publishing (OIDC). - GCP Cloud Run deployment instructions (`DEPLOYMENT.md`). -[Unreleased]: https://github.com/haraldschilly/solmate-optimizer/compare/v0.5.0...HEAD -[0.5.0]: https://github.com/haraldschilly/solmate-optimizer/compare/v0.4.0...v0.5.0 +[Unreleased]: https://github.com/haraldschilly/solmate-optimizer/compare/v0.5.1...HEAD +[0.5.1]: https://github.com/haraldschilly/solmate-optimizer/compare/v0.4.0...v0.5.1 [0.4.0]: https://github.com/haraldschilly/solmate-optimizer/compare/v0.3.0...v0.4.0 [0.3.0]: https://github.com/haraldschilly/solmate-optimizer/compare/v0.2.0...v0.3.0 [0.2.0]: https://github.com/haraldschilly/solmate-optimizer/compare/v0.1.0...v0.2.0 diff --git a/CLAUDE.md b/CLAUDE.md index bb9bc92..08f37dd 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -94,11 +94,13 @@ Releases are triggered by pushing a `v*` tag. GitHub Actions builds and publishe # section with today's date, and add new compare links at the bottom. # Follows Keep a Changelog conventions. # 2. Bump version in pyproject.toml (e.g. 0.1.0 → 0.2.0) -# 3. Sync lockfile +# 3. MANDATORY: sync lockfile — uv.lock must match pyproject.toml version. +# PyPI rejects re-uploads of deleted versions, so forgetting this +# forces a patch bump (e.g. v0.5.0 → v0.5.1). uv sync -# 4. Commit -git add CHANGELOG.md pyproject.toml uv.lock # uv.lock is gitignored here, skip if so +# 4. Commit — uv.lock MUST be included in the same commit as the version bump +git add CHANGELOG.md pyproject.toml uv.lock git commit -m "Release v0.2.0" # 5. Tag and push — this triggers the GitHub Actions release workflow diff --git a/pyproject.toml b/pyproject.toml index 8f9c189..9af0620 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "solmate-optimizer" -version = "0.5.0" +version = "0.5.1" description = "Dynamically adjusts EET SolMate injection profile based on hourly electricity price and weather forecast" readme = "README.md" authors = [ diff --git a/uv.lock b/uv.lock index 80105f1..e6d20f7 100644 --- a/uv.lock +++ b/uv.lock @@ -236,7 +236,7 @@ wheels = [ [[package]] name = "solmate-optimizer" -version = "0.5.0" +version = "0.5.1" source = { editable = "." } dependencies = [ { name = "click" },