ci(release): publish the Arch package when the version changes
Releases were built and uploaded by hand, so the published package could lag behind main and nothing checked the tree before it shipped. The new version file drives a pipeline that lints, builds and tests the exact commit, then creates the Gitea release and pushes the package to the pacman repository.
This commit is contained in:
9 files changed
+352
-4
No files matched your search
+6
-2
@@ -12,7 +12,7 @@
|
||||
|
||||
pkgname=fws-kitty
|
||||
pkgver=0.50.0
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc='Fast, feature-rich, GPU based terminal (FWS fork with the file-manager kitten)'
|
||||
arch=('x86_64' 'aarch64')
|
||||
url='https://gitea.nocode-var.tech/FWS/FWS-Kitty'
|
||||
@@ -21,6 +21,10 @@ license=('GPL-3.0-only')
|
||||
# Replace main with the tag or commit to ship once the release is cut.
|
||||
_branch=main
|
||||
_repo='https://gitea.nocode-var.tech/FWS/FWS-Kitty.git'
|
||||
# The CI sets FWS_SOURCE_REF=commit=<sha> so the package is built from the exact
|
||||
# commit being released instead of whatever main points at by the time makepkg
|
||||
# clones. A local build keeps following _branch.
|
||||
_source_ref=${FWS_SOURCE_REF:-branch=$_branch}
|
||||
|
||||
depends=(
|
||||
python harfbuzz zlib libpng lcms2 xxhash openssl
|
||||
@@ -43,7 +47,7 @@ provides=('kitty')
|
||||
conflicts=('kitty')
|
||||
|
||||
source=(
|
||||
"$pkgname::git+$_repo#branch=$_branch"
|
||||
"$pkgname::git+$_repo#$_source_ref"
|
||||
"nerdfonts-symbols.tar.xz::https://github.com/ryanoasis/nerd-fonts/releases/download/v3.5.1/NerdFontsSymbolsOnly.tar.xz"
|
||||
)
|
||||
sha256sums=('SKIP' '01172f37db8543edb102e5cb5c64101c9f4686630804d49b419aa07b23a69996')
|
||||
|
||||
Reference in new issue
Block a user