Nightly: materialize tag on publication
Container CI / release-build (push) Has been cancelled
Nightly release / publish-nightly (push) Has started running

This commit is contained in:
faumaray committed 2026-07-26 04:57:15 +03:00
1 parent 30e669359a
commit 9401f19ad5
4 files changed
+202 -21

No files matched your search

+11 -5
View File
@@ -72,10 +72,11 @@ directory, then protect it so only the release bot can push. Protect the `v*`
tag pattern so only the release maintainers represented by
`RELEASE_TAG_ALLOWED_SIGNERS` can create, update, or delete matching tags. The
workflow requires the exact `v*` rule to have an explicit non-empty user or
team allowlist. Gitea uses the same allowlist for tag creation and later tag
changes; when immutable release tags are required, add a server-side
pre-receive policy that rejects updates and deletion after creation. Protect
`main` in the normal way.
team allowlist. Configure it under repository **Settings → Tags → Protected
tags**; a similar pattern such as `v*.*` does not satisfy the release check.
Gitea uses the same allowlist for tag creation and later tag changes; when
immutable release tags are required, add a server-side pre-receive policy that
rejects updates and deletion after creation. Protect `main` in the normal way.
The updater feed URL is:
@@ -126,7 +127,12 @@ manually. Nightly versions use
`0.0.0-nightly.YYYYMMDD.RUN_NUMBER`, publish as prereleases on the `nightly`
channel, and keep the newest 14 Gitea releases. The aggregate feed also keeps
the newest 14 distinct nightly versions while retaining stable and beta
records.
records. Gitea materializes a missing `nightly-*` Git tag only when the
download-verified draft is published; the publisher then verifies its commit
immediately and never moves an existing tag whose target differs. Stable and
beta publishing require their signed tag to exist before creating a draft. If
`nightly-*` is protected separately, allow the release bot to create and delete
it.
Every aggregate envelope expires 45 days after generation. Scheduled
nightlies normally refresh it daily. Alert when the feed branch has not