Commit graph

26 commits

Author SHA1 Message Date
Ferdinand Hofherr
0f42c753a8
feat: make forge configurable in GitHub Action
Forgejo actions are a near drop-in replacement for GitHub actions. This
commit changes the action.yml file to make the forge configurable. This
allows using the action with forgejo instances.

Changes made:

- Introduce a `forge` input and pass it as the value of the `--forge`
  flag.
- Introduce `api-url` input and pass it as the value of the `--api-url`
  flag. This is required to configure the API URL of the forge. If the
  action is used with GitHub Actions it is simply ignored.
- Pass `inputs.token` as value to the `--api-token` flag. This is
  required as the forgejo client does not respect the `GITHUB_ACTION`
  environment variable.
- Introduce `owner` input and pass it as the value of the `--owner`
  flag. As this was not passed before the default is set to `""`. In
  theory it could be set to the value of `github.repository_owner`.
- Introduce `user` input and pass it as the value of the `--user`
  flag. As this was not passed before the default is set to `""`. GitHub
  Actions does not seem to provide a convenient way to get the
  repository without the owner. As such keeping it at `""` for the
  default is safest.
2026-01-25 15:20:30 +01:00
fa27415be5
chore(main): release v0.7.1 (#278) 2025-09-26 05:36:27 +00:00
b3cb9e128c
chore(main): release v0.7.0 (#232) 2025-08-23 23:05:30 +02:00
f1aa1a2ef4
refactor: let updaters define the files they want to run on (#233)
This change reverses the responsibility for which files the updaters are
run on. Now each updater can specify the list of files and wether the
files should be created when they do not exist yet. This simplifies the
handling of each update in releaserpleaser.go, as we can just iterate
over all updaters and call it for each file of that updater.

Also update the flags to allow users to easily define which updaters
should run.
2025-08-23 22:14:34 +02:00
Mattis Krämer
1e9e0aa5d9
feat: add updater for package.json (#213) 2025-08-23 22:05:52 +02:00
8eb7eadc4e
chore(main): release v0.6.1 (#211) 2025-07-11 11:32:09 +02:00
fc1ee70c28
chore(main): release v0.6.0 (#189) 2025-06-14 16:47:17 +02: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
b617232797
chore(main): release v0.5.0 (#107)
Co-authored-by: releaser-pleaser <>
2024-11-15 18:54:56 +01: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
1883466c3e
chore(main): release v0.4.1 (#87)
Co-authored-by: releaser-pleaser <>
2024-10-17 19:24:24 +02:00
4cc45ea244
chore(main): release v0.4.0 (#62)
Co-authored-by: releaser-pleaser <>
2024-09-25 13:06:06 +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
84d4dd9d26
chore(main): release v0.4.0-beta.0 (#50)
Co-authored-by: releaser-pleaser <>
2024-09-15 17:18:24 +02:00
0a199e693f
chore(main): release v0.3.0 (#38)
Co-authored-by: releaser-pleaser <>
2024-09-06 23:46:04 +02:00
1f39df03c5
chore(main): release v0.2.0 (#24)
Co-authored-by: releaser-pleaser <>
2024-08-25 23:01:48 +02:00
499f127b9e
docs: add all current features (#34) 2024-08-25 22:13:56 +02:00
a841447063
fix(action): invalid quoting for extra-files arg (#25) 2024-08-24 15:39:55 +02:00
0f8d3cca3c
chore(main): release v0.2.0-beta.2 (#22)
Co-authored-by: releaser-pleaser <>
2024-08-24 15:27:27 +02:00
e96e5107e5
chore(main): release v0.2.0-beta.1 (#19)
Co-authored-by: releaser-pleaser <>
2024-08-24 15:15:18 +02:00
9aec0ea7da
chore(main): release v0.2.0-beta.0 (#17) 2024-08-24 15:06:59 +02:00
47de2f97bc
feat: update version references in any files (#14) 2024-08-23 22:02:58 +02:00
6ba7020983 ci: add username for git basic auth 2024-08-06 00:04:11 +02:00
35c5553c27
feat: add github action (#1) 2024-08-05 23:49:31 +02:00