dd166ec446
feat(github): mark pre-releases correctly ( #110 )
...
In theory every forge can support this, but right now only GitHub allows
one to define a release as "pre-release".
Closes #45
2024-11-15 18:49:50 +01:00
ef1d92cff0
refactor: interface for versioning strategy ( #109 )
2024-11-15 17:43:40 +00:00
11f8403241
fix: create CHANGELOG.md if it does not exist ( #108 )
...
During a previous refactoring (#15 ) the Changelog generation logic stopped creating the file if it did not exist. This makes sure that the file actually gets created. This is primarily required while onboarding new repositories.
Closes #85
2024-11-15 18:07:59 +01:00
e9b3ba8ea2
feat(gitlab): make job dependencies configurable and run immediately ( #101 )
...
In the CI/CD component, make the jobs `needs` setting configurable
through an input and change the default to `[]`. This will cause the job
to run immediately.
Co-authored-by: jo <ljonas@riseup.net>
2024-11-15 17:51:54 +01:00
renovate[bot]
6c5bdfeee8
deps: update codecov/codecov-action digest to 5c47607 ( #106 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 17:46:41 +01:00
0ae2d909bc
fix: use commits with slightly invalid messages in release notes ( #105 )
...
Fixes a bug where commits with messages that do not strictly conform to
conventional commits spec would be ignored. This could easily happen
while parsing footers like "Closes #xx" which would start the footer
section, while continuing with the body afterwards.
This solution has two downsides:
- these warnings are not surfaced to the user.
- If a `BREAKING CHANGE` footer exists after the parsing issue it is ignored
Co-authored-by: jo <ljonas@riseup.net>
2024-11-15 17:25:15 +01:00
renovate[bot]
faf28fd314
deps: update module github.com/google/go-github/v65 to v66 ( #103 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 15:10:52 +01:00
renovate[bot]
147148c891
chore(config): migrate config .github/renovate.json5 ( #104 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 15:10:33 +01:00
renovate[bot]
79c5b13e1f
deps: update codecov/codecov-action action to v5 ( #102 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 15:09:17 +01:00
renovate[bot]
b6d6270d9e
deps: update actions/checkout digest to 11bd719 ( #89 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 14:52:43 +01:00
renovate[bot]
59aa7aae02
deps: update actions/setup-go digest to 41dfa10 ( #90 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 14:52:20 +01:00
renovate[bot]
b55cba293f
deps: update dependency golangci/golangci-lint to v1.62.0 ( #98 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-10 22:51:51 +00:00
05be3684c6
chore(main): release v0.4.2 ( #97 )
...
Co-authored-by: releaser-pleaser <>
2024-11-08 13:28:52 +01:00
cbfacc894b
fix(action): container image reference used wrong syntax ( #96 )
...
The current value caused the following error when running the action in
a different repository:
Error: 'ghcr.io/apricote/releaser-pleaser:v0.4.1' should be either '[path]/Dockerfile' or 'docker://image[:tag]'.
Not sure why this did not come up before, as we are also using the same
format for the CI in this repository, even if we use another tag.
2024-11-08 12:27:09 +00:00
renovate[bot]
71351140f6
deps: update dependency rust-lang/mdbook to v0.4.42 ( #95 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-07 17:23:27 +00:00
renovate[bot]
8c7b9fcf93
deps: update dependency rust-lang/mdbook to v0.4.41 ( #94 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-06 19:22:01 +00:00
renovate[bot]
db4aebcc73
deps: update module github.com/xanzy/go-gitlab to v0.113.0 ( #93 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 16:50:37 +00:00
renovate[bot]
8493c5a625
deps: update registry.gitlab.com/gitlab-org/release-cli docker tag to v0.19.0 ( #88 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-21 06:09:18 +00:00
1883466c3e
chore(main): release v0.4.1 ( #87 )
...
Co-authored-by: releaser-pleaser <>
2024-10-17 19:24:24 +02:00
3caa7364ee
fix(gitlab): release not created when release pr was squashed ( #86 )
...
When the release pull request was squashed on GitLab, the release
creation fails with error
Error: failed to create pending releases: pull request is missing the merge commit
This fixes the problem by checking both `MergeCommitSHA` and
`SquashCommitSHA` and using whichever is set.
2024-10-17 17:22:03 +00:00
renovate[bot]
763018ff9b
deps: update module github.com/yuin/goldmark to v1.7.8 ( #84 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-16 12:43:19 +00:00
renovate[bot]
acff7ea830
deps: update module github.com/yuin/goldmark to v1.7.7 ( #83 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 11:11:20 +00:00
renovate[bot]
2a4f2b97d1
deps: update module github.com/xanzy/go-gitlab to v0.112.0 ( #82 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 18:42:23 +00:00
renovate[bot]
755d9b125b
deps: update actions/checkout digest to eef6144 ( #79 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 15:02:39 +02:00
renovate[bot]
de4f26225a
deps: update golangci/golangci-lint-action digest to 971e284 ( #77 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 15:01:17 +02:00
renovate[bot]
da6257e618
deps: update codecov/codecov-action digest to b9fd7d1 ( #76 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 14:19:09 +02:00
renovate[bot]
cd412ba59f
deps: update module github.com/yuin/goldmark to v1.7.6 ( #81 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-12 15:21:35 +00:00
renovate[bot]
40a15dfafa
deps: update module github.com/xanzy/go-gitlab to v0.111.0 ( #80 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-10 18:21:50 +00:00
renovate[bot]
9bb117c7b9
deps: update module github.com/xanzy/go-gitlab to v0.110.0 ( #78 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-06 13:10:54 +00:00
4cc45ea244
chore(main): release v0.4.0 ( #62 )
...
Co-authored-by: releaser-pleaser <>
2024-09-25 13:06:06 +02:00
89dc9e3fe8
feat(gitlab): support self-managed instances ( #75 )
...
Support self-managed gitlab instances by reading the GitLab CI environment
variables.
2024-09-25 12:41:11 +02:00
55083f2a59
docs: guide for extra-files ( #74 )
2024-09-25 12:09:27 +02:00
08505a55cd
ci(mirror): fix missing lfs files on push ( #73 )
2024-09-25 09:35:59 +00:00
1a370c39dc
docs: GitLab tutorial and CI/CD component reference ( #72 )
2024-09-25 11:23:04 +02:00
2621c48d75
feat(changelog): omit version heading in forge release notes
...
The forge ui usually shows the release name right above the description,
so this removes an unecessary duplicate bit of information.
In addition this also cleans up the changelog interface a bit and moves
functionality where it belongs. Prepares a bit for custom changelogs in
the future.
Closes #32
2024-09-22 14:00:30 +02:00
renovate[bot]
997b6492de
deps: update dependency golangci/golangci-lint to v1.61.0 ( #70 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 11:44:03 +00:00
renovate[bot]
937b885696
deps: update module github.com/google/go-github/v63 to v65 ( #69 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 13:40:15 +02:00
renovate[bot]
4402612538
deps: update actions/configure-pages action to v5 ( #68 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 13:37:03 +02:00
renovate[bot]
6a2f536650
deps: pin dependencies ( #66 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 13:35:27 +02:00
renovate[bot]
90685994d7
deps: update module google.golang.org/protobuf to v1.33.0 [security] ( #65 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-21 11:33:15 +00:00
7bd752c2f5
chore: setup renovate ( #64 )
2024-09-21 13:29:26 +02:00
dc1903c4b4
chore(main): release v0.4.0-beta.1 ( #56 )
...
Co-authored-by: releaser-pleaser <>
2024-09-15 21:00:06 +02:00
2567293368
fix: multiple extra-files are not evaluated properly ( #61 )
...
Quoting issues caused multiple extra-files to be ignored.
2024-09-15 20:59:17 +02:00
7a3d46eac7
ci: update version reference in gitlab ci/cd component ( #60 )
2024-09-15 18:58:38 +02:00
8d7b1c9580
feat(gitlab): add CI/CD component ( #55 )
...
This adds a GitLab CI/CD component that can be `included` in users
GitLab CI configuration to integrate releaser-pleaser.
Unlike the GitHub Action, this can not easily run whenever a merge
request description is changed, only when changes are pushed to main.
2024-09-15 18:54:38 +02:00
61cf12a052
feat: add shell to container image ( #59 )
...
Images used in GitLab CI need to have a shell included, otherwise the
job could not be started.
This replaces the default `cgr.dev/chainguard/static` base image with
`cgr.dev/chainguard/busybox`. Busybox is the smallest image that
includes a functional shell.
Needed for #55 .
2024-09-15 18:46:45 +02:00
7b49e8ea0c
ci: job name may not contain dot ( #58 )
2024-09-15 18:43:16 +02:00
da0c07497b
ci: push all changes to gitlab.com mirror ( #57 )
...
GitLab only considers repos on the current instance for its CI/CD
catalog. We want to publish a GitLab CI/CD component for #4 .
2024-09-15 18:41:32 +02:00
84d4dd9d26
chore(main): release v0.4.0-beta.0 ( #50 )
...
Co-authored-by: releaser-pleaser <>
2024-09-15 17:18:24 +02:00
ee83cec049
fix(gitlab): use project path wherever possible ( #54 )
...
Turns out that all we need is the path, and not the project id. The path
is way more user friendly, and we can easily get it from a CI variable
or combine it from the namespace & project name.
2024-09-08 21:07:03 +02:00