From 75cbac8650d086acfcc8bcd1ebdd22ee44197c58 Mon Sep 17 00:00:00 2001 From: Antonio Molina Date: Fri, 28 Nov 2025 20:12:53 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20feat:=20Added=20bumpversion=20f?= =?UTF-8?q?or=20automatic=20versioning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bumpversion.cfg | 8 ++++++++ README.md | 29 +++++++++++++++++++++++------ VERSION | 1 + 3 files changed, 32 insertions(+), 6 deletions(-) create mode 100644 .bumpversion.cfg create mode 100644 VERSION diff --git a/.bumpversion.cfg b/.bumpversion.cfg new file mode 100644 index 0000000..b34b790 --- /dev/null +++ b/.bumpversion.cfg @@ -0,0 +1,8 @@ +[bumpversion] +current_version = 0.1.1 +commit = True +tag = True +tag_name = v{new_version} +message = chore: bump version to {new_version} + +[bumpversion:file:VERSION] diff --git a/README.md b/README.md index b974c6f..6bbccd1 100644 --- a/README.md +++ b/README.md @@ -70,18 +70,35 @@ The install script symlinks everything safely into `$HOME`. --- +## 🔖 Versioning & Releases + +- Version number lives in the `VERSION` file and is managed by [bumpversion](https://github.com/c4urself/bump2version). +- Install the tool once (e.g. `pip install --user bump2version`). +- To cut a new release: + 1. Decide the part to bump (`patch`, `minor`, or `major`). + 2. Run `bumpversion ` which updates `VERSION`, commits, and tags using `.bumpversion.cfg`. + 3. Push everything: `git push && git push --tags`. + +--- + ## 📁 Structure ``` dotfiles/ -├── zsh/ -│ ├── .zshrc -│ └── custom/ +├── .bumpversion.cfg +├── .github/ +│ └── workflows/ +│ └── secret-scan.yml +├── .gitignore +├── .pre-commit-config.yaml +├── README.md +├── VERSION ├── git/ -│ ├── .gitconfig -│ └── .gitignore_global +│ ├── gitconfig +│ └── gitconfig_qustodio (optional) ├── install.sh -└── README.md +└── zsh/ + └── zshrc ``` --- diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..6e8bf73 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.1.0 From 01251930f9cb0def586ab78fe0043b65b40d4b13 Mon Sep 17 00:00:00 2001 From: Antonio Molina Date: Fri, 28 Nov 2025 20:30:32 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Fixed=20wrong=20versi?= =?UTF-8?q?on=20in=20VERSION?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 6e8bf73..17e51c3 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0 +0.1.1