Commit graph

21 commits

Author SHA1 Message Date
Paul van Tilburg
6ab7d41741
Fix release notes being escaped properly
The release notes can contain special characters that will be expanded
by bash if not escaped properly, such as the dollar sign (`$`) or the
backtick (`\``).
This PR replaces setting the `RELEASENOTES` environment variable using
double quotes by a heredoc that does not perform any shell-related
expansion.
2024-08-11 12:14:42 +02:00
Paul van Tilburg
b0876c539d
Add ability to set the release title
This PR allows you the set/override the release title, which was set to
the tag and still defaults to the tag.
2024-08-09 16:39:58 +02:00
benniekiss
a5aa633273 Support downloading the latest release of a repo (#16)
This PR adds the functionality to download the latest release from a repo. The API provides an endpoint to do so, so an option has been added to the action.

This closes #12

Co-authored-by: benniekiss <bgmt@mail.bbalm.me>
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/16
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Co-authored-by: benniekiss <benniekiss@noreply.code.forgejo.org>
Co-committed-by: benniekiss <benniekiss@noreply.code.forgejo.org>
2024-07-08 18:49:13 +00:00
Earl Warren
809ad6c4e5
override an existing release by the same tag 2024-02-12 14:32:32 +01:00
Neshura
a29fc96f18 Add prerelease input to action.yml 2024-01-03 18:23:39 +00:00
Earl Warren
c6d7843bab
action: support for GPG signing 2023-05-26 15:05:07 +02:00
Earl Warren
358b55efd4
wait for a release to no longer be draft before downloading 2023-05-24 01:32:23 +02:00
Earl Warren
c77cf483dd
support signing release artifacts 2023-05-23 13:04:53 +02:00
Earl Warren
0037083d2d
cosmetic changes 2023-05-23 13:04:49 +02:00
Earl Warren
bb345b780c
LICENSE is MIT 2023-04-01 11:12:56 +02:00
Earl Warren
4f06c1b250
github.token has restricted permissions and won't be useful 2023-03-31 00:54:48 +02:00
Earl Warren
12233a8d78
trim refs/tags/ for short tag names 2023-03-31 00:36:06 +02:00
Earl Warren
b818607d61
no doer 2023-03-31 00:19:35 +02:00
Earl Warren
25027fcba8
set token from FORGEJO_TOKEN in the test environment 2023-03-30 17:16:24 +02:00
Earl Warren
cb070c9a96
fallback to env.GITHUB_SERVER_URL if FORGEJO is not set 2023-03-30 17:16:24 +02:00
Earl Warren
6787cd1bd1
add README 2023-03-30 14:50:09 +02:00
Earl Warren
3a07a6062f
non nested upload/download tests 2023-03-30 10:43:52 +02:00
Earl Warren
c00160628d
add release notes 2023-03-30 00:05:14 +02:00
Earl Warren
429c93d710
specify the SHA when the repo running the action is unrelated 2023-03-29 23:45:19 +02:00
Earl Warren
ba4ac4e80d
test upload & download 2023-03-29 19:12:28 +02:00
Earl Warren
fc5cdffbe4
bootstrap with file from forgejo/releases 2023-03-26 17:51:25 +02:00