From 8a35caa6f534e45001f762897127a36a805e9271 Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Fri, 12 Sep 2025 17:48:43 -0600 Subject: [PATCH] build: fix commitizen bumps - track version with commitizen - update version in cli --- .cz.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.cz.yaml b/.cz.yaml index 1ec5475..85a61fc 100644 --- a/.cz.yaml +++ b/.cz.yaml @@ -1,8 +1,13 @@ --- commitizen: + annotated_tag: true + bump_message: 'chore(bump): version $current_version -> $new_version' major_version_zero: true name: cz_conventional_commits tag_format: v$version update_changelog_on_bump: true - version_provider: scm + version: "0.0.1" + version_files: + - cmd/root.go:Version + version_provider: commitizen version_scheme: semver2 -- 2.43.0 From 7cad0b662fa067530d2ff3ee3a4fda24d44f4e4a Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sat, 13 Sep 2025 11:58:50 -0600 Subject: [PATCH] chore(bump): version 0.0.1 -> 0.1.0 --- .cz.yaml | 2 +- CHANGELOG.md | 10 ++++++++++ cmd/root.go | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 CHANGELOG.md diff --git a/.cz.yaml b/.cz.yaml index 85a61fc..955a0bd 100644 --- a/.cz.yaml +++ b/.cz.yaml @@ -6,7 +6,7 @@ commitizen: name: cz_conventional_commits tag_format: v$version update_changelog_on_bump: true - version: "0.0.1" + version: 0.1.0 version_files: - cmd/root.go:Version version_provider: commitizen diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..fd4fd27 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +## v0.1.0 (2025-09-13) + + +- use tangled pkg name + +## v0.0.1 (2025-09-13) + +### Feat + +- initial release diff --git a/cmd/root.go b/cmd/root.go index 2c41d0a..4baf5e2 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -39,7 +39,7 @@ var rootCmd = &cobra.Command{ Long: `PDSAdmin is a tool for interacting with a PDS you own. This implementation tries to be comparable with [bluesky-social's](https://github.com/bluesky-social/pds).`, - Version: "0.0.1", + Version: "0.1.0", // Uncomment the following line if your bare application // has an action associated with it: // Run: func(cmd *cobra.Command, args []string) { }, -- 2.43.0