Commit graph

30 commits

Author SHA1 Message Date
Felix Kröner
d67ba51741 refactor: Resolve previously missed violation of SC2086 2024-12-05 08:23:17 +01:00
Felix Kröner
cfe5d616d2 refactor: Fix typo in variable name 2024-12-05 08:22:36 +01:00
Felix Kröner
b035423bc4 Clarify purpose of array for accumulation of assets 2024-12-05 08:17:31 +01:00
Felix Kröner
44fea6428c Fix download not handling files with spaces in names correctly 2024-12-04 19:01:52 +01:00
Felix Kröner
615f72e7fa Replace assets text with array
Recommendation based on https://github.com/koalaman/shellcheck/wiki/SC2086#exceptions
2024-12-04 17:31:06 +01:00
Felix Kröner
c089625f57 Reactivate word splitting for passphrase
The passphrase variable relies on word splitting to provide parameter key and value for gpg
2024-12-04 16:47:30 +01:00
Felix Kröner
f4520558e6 Replace all tabs with spaces
According to .editorconfig file
2024-12-04 16:35:08 +01:00
Felix Kröner
765e655aba Resolve all SC2086 warnings
This should also resolve all issues related to spaces in file names

See https://github.com/koalaman/shellcheck/wiki/SC2086
2024-12-04 16:32:36 +01:00
Felix Kröner
7a1ac7c579 Add support for files containing spaces in their names
Currently files with spaces will break the `tea` command.
By enclosing the filenames in quotes the issue is resolved.
2024-12-04 13:28:00 +01:00
natct
5069284121 feat: add an option to hide archive link 2024-12-03 09:48:47 +01:00
natct
59d006123b feat(ci): use Release Notes Assistant 2024-11-18 15:32:02 +01:00
natct
72f5daf6a7 feat: cleaunp script 2024-11-04 11:07:42 +01: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
benniekiss
de47e391d3 Allow downloading releases from private repos (#15)
Closes #14

Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/15
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-06 20:04:23 +00:00
Léana 江
eb0fcc44a1 fetch tea for the matching architecture
Reviewed-on: https://code.forgejo.org/actions/forgejo-release/pulls/11
Co-authored-by: Léana 江 <leana.jiang@icloud.com>
Co-committed-by: Léana 江 <leana.jiang@icloud.com>
2024-05-12 11:02:43 +00:00
Earl Warren
809ad6c4e5
override an existing release by the same tag 2024-02-12 14:32:32 +01:00
Neshura
81f7998d0e Add PRELEASE handling to forgejo-release.sh 2024-01-03 18:25:06 +00:00
Earl Warren
2d51a3fa48
workaround race condition in v1.20
Refs: https://codeberg.org/forgejo/forgejo/issues/1370
2023-09-02 10:55:33 +02:00
Earl Warren
ca1a3fb023
allow tea login multiple times 2023-08-25 11:41:43 +02:00
Earl Warren
f886973249
GPG signing logic 2023-05-26 14:49:39 +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
56c1c975a3
mark the release as draft until it is ready 2023-05-24 01:09:00 +02:00
Earl Warren
bb345b780c
LICENSE is MIT 2023-04-01 11:12:56 +02:00
Earl Warren
b818607d61
no doer 2023-03-31 00:19:35 +02:00
Earl Warren
ba62e00392
quietly apt-get update 2023-03-30 15:22:00 +02:00
Earl Warren
ca02749d65
adapt shell tests 2023-03-30 09:14:15 +02:00
Earl Warren
ba4ac4e80d
test upload & download 2023-03-29 19:12:28 +02:00
Earl Warren
245db64a1e
adapt and test 2023-03-26 23:03:56 +02:00
Earl Warren
fc5cdffbe4
bootstrap with file from forgejo/releases 2023-03-26 17:51:25 +02:00