chore: sync .mokogitea/workflows/update-server.yml from moko-platform [skip ci]

This commit is contained in:
2026-05-28 20:51:44 +00:00
parent 7e4b391004
commit efd86ee77e
+3
View File
@@ -114,6 +114,9 @@ jobs:
VERSION=$(php ${MOKO_CLI}/version_read.php --path . 2>/dev/null || echo "0.0.0")
# Strip any existing suffix before applying stability
VERSION=$(echo "$VERSION" | sed 's/-\(dev\|alpha\|beta\|rc\)$//')
# Determine stability from branch or manual input
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
STABILITY="${{ inputs.stability }}"