- Installing the deb or the rpm now also adds the Arasaka package repository, packages.arasaka.software, so later versions of “me-web?” arrive through apt, dnf, zypper or your software centre, like any other program. - The rpm is now signed. On openSUSE, import the key once with sudo rpm --import https://packages.arasaka.software/arasaka.asc - Removing the package keeps the repository until no Arasaka package is left (purge on Debian and Ubuntu); a repository file you edited by hand is never touched. - The download and privacy pages say so; the repository server keeps no access log. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012CzABvBkbcFqoHdmi8b9WB
61 lines
1.9 KiB
YAML
61 lines
1.9 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:
|
|
YOLO_TOKEN: ${{ secrets.YOLO_TOKEN }}
|
|
YOLO_GITEA: http://localhost:3000
|
|
YOLO_MIN: "0.1.0"
|
|
run: |
|
|
yolo repo submit --project meweb --version "$VERSION" --replace-signed "releases/$VERSION/MeWeb-$VERSION-linux-x64.deb" "releases/$VERSION/MeWeb-$VERSION-linux-x64.rpm"
|
|
yolo sums "releases/$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"/*
|