feat: integrate Forgejo API for release synchronization and asset download
This commit is contained in:
1 parent
7fa501266e
commit
7b43e47a64
7 files changed
+225
-32
No files matched your search
@@ -0,0 +1,13 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace ForgejoReleaseSync.DTOs.Forgejo;
|
||||
|
||||
public sealed record ForgejoCreateReleaseDto(
|
||||
[property: JsonPropertyName("body")] string Body,
|
||||
[property: JsonPropertyName("draft")] bool Draft,
|
||||
[property: JsonPropertyName("hide_archive_links")] bool HideArchiveLinks,
|
||||
[property: JsonPropertyName("name")] string Name,
|
||||
[property: JsonPropertyName("prerelease")] bool Prerelease,
|
||||
[property: JsonPropertyName("tag_name")] string TagName,
|
||||
[property: JsonPropertyName("target_commitish")] string TargetCommitish
|
||||
);
|
||||
Reference in new issue
Block a user