feat: preserve fixed upstream versions with fork suffixes
Gitbump CI / test (push) Successful in 46s
Gitbump CI / build (push) Successful in 28s
Gitbump CI / notify-failure (push) Skipped

This commit is contained in:
meda committed 2026-09-25 10:02:33 +02:00
1 parent d6cf715a4a
commit 54a7b1e6d8
4 files changed
+201 -23

No files matched your search

+12 -2
View File
@@ -19,7 +19,16 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.23'
- uses: https://gitea.com/your-user/gitbump@master
- uses: https://lab.zlymeda.dynu.net/actions/gitbump@master
```
For a fixed base version with an incrementing fork suffix:
```yaml
- uses: https://lab.zlymeda.dynu.net/actions/gitbump@master
with:
bump: suffix
suffix: meda
```
### Inputs
@@ -27,7 +36,8 @@ jobs:
| Input | Description | Default |
|-------|-------------|---------|
| `dry-run` | Show what would be done without making changes | `false` |
| `bump` | Force specific bump type (`major`, `minor`, or `patch`) | |
| `bump` | Force specific bump type (`major`, `minor`, `patch`, or `suffix`) | |
| `suffix` | Suffix label used when creating the first suffix | |
| `prefix` | Version prefix | `v` |
| `no-push` | Create tag but don't push to remote | `false` |
| `major-patterns` | Comma-separated list for major version bumps | `bump major,breaking change` |