ci: added autorelease thx to @xpamych
All checks were successful
Code and build check / Check code (push) Successful in 1m25s
Code and build check / Build with uv (push) Successful in 47s

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
Boris Yumankulov 2025-06-02 14:03:44 +05:00
parent 8547817282
commit 5bfd23995c
Signed by: Boria138
GPG Key ID: 14B4A5673FD39C76
3 changed files with 31 additions and 3 deletions

View File

@ -2,12 +2,16 @@ name: Build AppImage, Arch and Fedora Packages
on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
env:
# Common version, will be used for tagging the release
VERSION: 0.1.1
VERSION: v0.1.1
PKGDEST: "/tmp/portprotonqt"
PACKAGE: "portprotonqt"
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
jobs:
build-appimage:
@ -130,3 +134,27 @@ jobs:
with:
name: PortProtonQt-RPM-Fedora-${{ matrix.fedora_version }}
path: /home/rpmbuild/RPMS/**/*.rpm
release:
name: Create and Publish Release
needs: [build-appimage, build-arch, build-fedora]
runs-on: ubuntu-latest
steps:
- name: Download all artifacts
uses: https://gitea.com/actions/download-artifact@v4
with:
path: release/
- name: Get Changes between Tags
id: changes
uses: https://github.com/simbo/changes-between-tags-action@v1
- name: Release
uses: https://gitea.com/actions/gitea-release-action@v1
with:
body: ${{ steps.changes.outputs.changes }}
token: ${{ env.GITEA_TOKEN }}
tag_name: ${{ env.VERSION }}
prerelease: true
files: release/**/*
sha256sum: true

View File

@ -8,7 +8,7 @@ license=('GPL-3.0')
depends=('python-numpy' 'python-requests' 'python-babel' 'python-evdev' 'python-pyudev' 'python-orjson'
'python-psutil' 'python-tqdm' 'python-vdf' 'pyside6' 'icoextract' 'python-pillow' 'perl-image-exiftool' 'xdg-utils')
makedepends=('python-'{'build','installer','setuptools','wheel'})
source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt#tag=$pkgver")
source=("git+https://git.linux-gaming.ru/Boria138/PortProtonQt#tag=v$pkgver")
sha256sums=('SKIP')
build() {

View File

@ -47,7 +47,7 @@ PortProtonQt is a modern, user-friendly graphical interface designed to streamli
%prep
git clone https://git.linux-gaming.ru/Boria138/PortProtonQt
cd %{oname}
git checkout %{pypi_version}
git checkout v%{pypi_version}
%build
cd %{oname}