Files
MeWeb/.gitea/workflows/release.yml
T
thepraandClaude Opus 5.5 599ea2bf84
Build / Desktop, server and tools (push) Successful in 1m17s
The release job feeds packages.arasaka.software itself; YoloCICD is gone
.gitea/scripts/packages.sh signs the rpm with the org secret PACKAGES_SIGNING_KEY,
publishes the deb and rpm into a new snapshot of the repository, signs its metadata and
rewrites SHA256SUMS.txt, on the nuvola runner. Tested against a copy of the live
repository with Debian 13 apt and Fedora 44 dnf.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KizzWs2WQPWN2qgE7G6r8B
2026-10-23 10:38:55 +02:00

57 lines
1.7 KiB
YAML

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
inputs:
publish:
description: "Create the Gitea release too (false builds every platform and deploys the server only)"
default: "false"
jobs:
release:
name: Every platform, the server, the release
runs-on: nuvola
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare
run: .gitea/scripts/prepare.sh
- name: The server
run: tools/release.sh server --commit "$COMMIT"
- name: Deploy the server
run: .gitea/scripts/deploy-server.sh "releases/$VERSION/MeWeb-Server-$VERSION-linux-x64.tar.gz"
- name: Wait for the server's network data
run: .gitea/scripts/wait-knowledge.sh
- name: Linux, Windows and macOS
env:
MEWEB_KNOWLEDGE_URL: http://127.0.0.1:5480
run: tools/release.sh linux windows macos --commit "$COMMIT"
- name: Android, signed
env:
MEWEB_KNOWLEDGE_URL: http://127.0.0.1:5480
MEWEB_KEYSTORE_B64: ${{ secrets.MEWEB_KEYSTORE_B64 }}
MEWEB_KEYSTORE_PASS: ${{ secrets.MEWEB_KEYSTORE_PASS }}
run: .gitea/scripts/android.sh
- name: The deb and rpm on packages.arasaka.software, the rpm signed
if: ${{ github.ref_type == 'tag' }}
env:
PACKAGES_SIGNING_KEY: ${{ secrets.PACKAGES_SIGNING_KEY }}
run: .gitea/scripts/packages.sh "$VERSION"
- name: Publish the release
if: ${{ github.ref_type == 'tag' || inputs.publish == 'true' }}
env:
RELEASE_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: .gitea/scripts/release.sh "v$VERSION" releases/"$VERSION"/*