refactor(ci): organize workflow scripts and gate publish on main

This commit is contained in:
2026-03-26 15:58:18 +01:00
parent df2ce636c8
commit 128f71745a
9 changed files with 72 additions and 46 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
WORKFLOW_RUN_SHA="${WORKFLOW_RUN_SHA:?WORKFLOW_RUN_SHA must be set}"
git checkout -f "${WORKFLOW_RUN_SHA}"
git fetch --tags --force
git tag --list 'stable' 'v*' --sort=version:refname | tail -n 20