Commit graph

198 commits

Author SHA1 Message Date
81a855f5ab
feat: avoid pushing release branch only for rebasing (#114)
Right now releaser-pleaser pushes the branch even if it is only for a "rebase",
this wastes CI resources. Instead, it should only push when there are changes
to the files it owns.

- **Old**: Push when there is a diff origin/release-pr..release-pr
- **New**: Push when the these two diffs are not the same:
  
      origin/main..release-pr
      $(git merge-base origin/main origin/release-pr)..release-pr

Closes #92
2025-06-09 10:52:09 +02:00
175d6d0633
feat: real user as commit author (#187)
Previously all commits were authored and committed by

    releaser-pleaser <>

This looked weird when looking at the commit. We now check with the
Forge API for details on the currently authenticated user, and use that
name and email as the commit author. The commit committer stays the same
for now.

In GitHub, the default `$GITHUB_TOKEN` does not allow access to the
required endpoint, so for github the user `github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>` is hardcoded
when the request fails.
2025-06-09 08:06:56 +00:00
renovate[bot]
f2786c8f39
deps: update module github.com/go-git/go-git/v5 to v5.16.2 (#188)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 07:06:06 +00:00
1779356543
deps: replace xanzy/go-gitlab with official client (#182) 2025-06-07 16:42:29 +00:00
renovate[bot]
ad13dc24e0
chore(config): migrate config .github/renovate.json5 (#186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 16:40:56 +00:00
renovate[bot]
d91d93fc8c
deps: update codecov/codecov-action digest to 18283e0 (#113)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 18:39:31 +02:00
renovate[bot]
e3ecd8993c
chore: update golangci-lint to v2 and fix breakage (#184)
deps: update golangci/golangci-lint-action action to v8

Co-authored-by: Julian Tölle <julian.toelle97@gmail.com>
2025-06-07 16:39:18 +00:00
renovate[bot]
49855aa700
deps: update module github.com/google/go-github/v66 to v72 (#185)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 18:39:05 +02:00
renovate[bot]
f49481cd92
deps: update golangci/golangci-lint-action digest to 55c2c14 (#135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 18:24:36 +02:00
renovate[bot]
359912dcc0
deps: update actions/setup-go digest to d35c59a (#122)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 18:24:24 +02:00
renovate[bot]
1f882bf014
deps: update dependency go to v1.24.4 (#181)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-06 22:07:04 +00:00
renovate[bot]
31b12b9c33
deps: update module github.com/go-git/go-git/v5 to v5.16.1 (#180)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-04 12:24:23 +00:00
renovate[bot]
9c8b854de0
deps: update registry.gitlab.com/gitlab-org/release-cli docker tag to v0.24.0 (#179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-02 21:27:02 +00:00
renovate[bot]
c1b0f15e07
deps: update dependency rust-lang/mdbook to v0.4.51 (#177)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-26 23:34:42 +00:00
renovate[bot]
58a9f1c9d5
deps: update dependency rust-lang/mdbook to v0.4.50 (#176)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-23 16:12:43 +00:00
fe3c9488b3
chore(main): release v0.5.1 (#175)
### Bug Fixes

- invalid version for subsequent pre-releases (#174)
2025-05-22 15:38:41 +02:00
d9c081d280
fix: invalid version for subsequent pre-releases (#174)
If two pre-releases were cut in a row, the second pre-release version
would only consider the semantic changes since the previous pre-release,
but base its new version of the latest tag.

Example:

- stable tag: `1.2.0`
- latest tag: `1.3.0-rc.1`
- 1 commit since with `fix:` tag

The resulting releaser-pleaser tag would be: `1.2.1-rc.2`. It should be
`1.3.0-rc.2` instead.

This is now fixed by considering different commit ranges for versioning
and changelog.

For a stable version we want the list of changes since the stable tag.

For a prerelease version we want the list of changes since the latest
tag. To avoid repeating the same features over and over in a series of
multiple pre-releases.

This behaviour already existed and worked.

For a stable version, we want to consider all changes since the stable
tag.

For a prerelease version, we also want to consider all changes since the
stable tag. This was broken and only used the changes since the latest
tag.
2025-05-22 15:27:49 +02:00
renovate[bot]
9c95dd558b
deps: update module github.com/yuin/goldmark to v1.7.12 (#173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-17 14:40:46 +00:00
renovate[bot]
c31e40d04b
deps: update dependency go to v1.24.3 (#172)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-06 19:20:16 +00:00
renovate[bot]
d93378a72e
deps: update dependency rust-lang/mdbook to v0.4.49 (#171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-05 23:23:44 +00:00
renovate[bot]
86207b80f2
deps: update module github.com/yuin/goldmark to v1.7.11 (#170)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-27 14:32:40 +00:00
renovate[bot]
b658a3a531
deps: update module github.com/teekennedy/goldmark-markdown to v0.5.1 (#169)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-24 01:58:58 +00:00
renovate[bot]
85ff2126b1
deps: update module github.com/go-git/go-git/v5 to v5.16.0 (#168)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-15 22:53:49 +00:00
renovate[bot]
377ec44cd3
deps: update module github.com/yuin/goldmark to v1.7.10 (#167)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-15 22:53:41 +00:00
renovate[bot]
7fe19174db
deps: update module github.com/yuin/goldmark to v1.7.9 (#166)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-14 22:44:55 +00:00
renovate[bot]
3ed3a1856c
deps: update ko-build/setup-ko action to v0.9 (#165)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 19:46:37 +00:00
renovate[bot]
9d0cfc7c83
deps: update module github.com/go-git/go-git/v5 to v5.15.0 (#164)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-11 10:45:01 +00:00
renovate[bot]
1bb296a509
deps: update dependency go to v1.24.2 (#163)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-01 19:11:37 +00:00
renovate[bot]
00986532b9
deps: update dependency rust-lang/mdbook to v0.4.48 (#162)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-31 23:15:13 +00:00
renovate[bot]
f9ba6daa42
deps: update registry.gitlab.com/gitlab-org/release-cli docker tag to v0.23.0 (#161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-20 16:33:00 +00:00
renovate[bot]
1be7bf0f76
deps: update dependency golangci/golangci-lint to v1.64.8 (#159)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-17 23:26:21 +00:00
renovate[bot]
a594ac0373
deps: update module golang.org/x/net to v0.36.0 [security] (#158)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-13 15:12:14 +00:00
renovate[bot]
98e60583a4
deps: update dependency golangci/golangci-lint to v1.64.7 (#157)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-12 01:27:44 +00:00
renovate[bot]
4dd80c9492
deps: update dependency rust-lang/mdbook to v0.4.47 (#156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-09 18:23:34 +00:00
renovate[bot]
d6262d8ecb
deps: update dependency rust-lang/mdbook to v0.4.46 (#155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-08 22:38:23 +00:00
renovate[bot]
6c57ad0fbb
deps: update dependency go to v1.24.1 (#154)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 22:53:53 +00:00
renovate[bot]
d8841d3fab
deps: update dependency golangci/golangci-lint to v1.64.6 (#153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-03 01:50:07 +00:00
renovate[bot]
e795d16489
deps: update module github.com/go-git/go-git/v5 to v5.14.0 (#152)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 16:28:51 +00:00
renovate[bot]
d22f87ecc2
deps: update dependency rust-lang/mdbook to v0.4.45 (#150)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 18:49:35 +00:00
renovate[bot]
761eede169
deps: update registry.gitlab.com/gitlab-org/release-cli docker tag to v0.22.0 (#149)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 15:39:48 +00:00
renovate[bot]
510f62f75d
deps: update module github.com/spf13/cobra to v1.9.1 (#148)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-17 02:51:50 +00:00
renovate[bot]
da66bd0cc4
deps: update module github.com/spf13/cobra to v1.9.0 (#147)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-15 22:42:09 +00:00
renovate[bot]
11c61e9dbd
deps: update dependency golangci/golangci-lint to v1.64.5 (#146)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-14 01:52:19 +00:00
renovate[bot]
a54d44673d
deps: update dependency golangci/golangci-lint to v1.64.4 (#145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-13 02:46:20 +00:00
renovate[bot]
b2a1754432
deps: update dependency golangci/golangci-lint to v1.64.3 (#144)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 21:50:04 +00:00
renovate[bot]
871f69acbe
deps: update dependency go to v1.24.0 (#142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 06:55:41 +00:00
renovate[bot]
34ca528570
deps: update dependency golangci/golangci-lint to v1.64.2 (#143)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-12 02:49:42 +00:00
renovate[bot]
7a92e82d94
deps: update dependency go to v1.23.6 (#141)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 20:36:25 +00:00
renovate[bot]
6802aad634
deps: update dependency rust-lang/mdbook to v0.4.44 (#140)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-28 20:52:41 +00:00
renovate[bot]
0774353639
deps: update module github.com/go-git/go-git/v5 to v5.13.2 (#139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-23 01:57:18 +00:00