Files
MeWeb/.gitea/workflows/release.yml
T
thepraandClaude Opus 5.5 ad33779356
Build / Desktop, server and tools (push) Successful in 1m12s
Release notes come from app-stores' changelog action, into the deb and rpm too
The release's "What's new" is now written by the shared generator every Arasaka
release uses, from the same commit messages and with the same "me-web? x.y.z:" prefix
removed; the deb and rpm carry it as their changelog (apt changelog, rpm --changelog),
and CHANGELOG.md is attached beside the files and listed in SHA256SUMS.txt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 18:19:25 +01:00

69 lines
2.1 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: Release notes from the commit messages since the previous tag
uses: https://git.thepra.dev/Arasaka/app-stores/changelog@v1
with:
prefix: v
name: me-web?
strip: '^["“]?me-web\?["”]? [\d.]+:\s*'
packager: Arasaka di Hvozdikov Yevheniy <https://arasaka.software/contact>
output: artifacts/notes
- 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 changelog beside the files
run: cp artifacts/notes/CHANGELOG.md "releases/$VERSION/"
- name: The rpm signed with the Arasaka packages key
if: ${{ github.ref_type == 'tag' }}
env:
PACKAGES_SIGNING_KEY: ${{ secrets.PACKAGES_SIGNING_KEY }}
run: .gitea/scripts/sign-rpm.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"/*