feat: integrate Forgejo API for release synchronization and asset download

This commit is contained in:
mahdium committed 2026-11-03 20:11:43 +03:30
1 parent 7fa501266e
commit 7b43e47a64
7 files changed
+225 -32

No files matched your search

+13
View File
@@ -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
);