Archived
This repository has been archived on 2026-10-24 . You can view files and clone it. You cannot open issues or pull requests or push a commit.
master
Instead of the moving alias 'stable', the registry distribution is the codename of Debian stable at build time (trixie now, forky later), read from deb.debian.org; DEB_DISTRIBUTION overrides it. Duplicates are detected per distribution via HTTP 409.
Gitea Debian Builder
Builds amd64 and arm64 Debian packages for gitea and writes them to the sibling ../gitea-deb APT repository.
Requirements
curljqwgetgpgxz-utilsdpkg-devapt-utilsgit
Usage
Build the latest Gitea release:
./build.sh
Build a specific version:
./build.sh 1.26.1
or:
GITEA_VERSION=1.26.1 ./build.sh
The script downloads the Linux amd64 and arm64 release artifacts, verifies their GPG signatures and SHA256 checksums, builds .deb packages, moves them into ../gitea-deb, regenerates Packages, Packages.gz, and Release, then commits and pushes the release repo changes.
Languages
Shell
100%