revert: drop redundant utility channel promote
build-binaries / build-binaries (pull_request) Successful in 2m12s
test-image / build-image (pull_request) Successful in 36s
test / test (pull_request) Successful in 1m23s

This commit is contained in:
2026-06-27 20:22:21 +02:00
parent 7589c5f220
commit bed1ff975f
6 changed files with 0 additions and 220 deletions
-18
View File
@@ -69,21 +69,3 @@ jobs:
"${api}/releases/${id}/assets?name=$(basename "$f")"
done
'
- name: Promote channel
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
env:
TAG: ${{ github.ref_name }}
GITEA_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
GITEA_SERVER: ${{ github.server_url }}
GITEA_OWNER: ${{ github.repository_owner }}
GITEA_REPO: ${{ github.repository }}
run: |
nix develop --command bash -c '
set -euo pipefail
if [[ "$TAG" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
bash scripts/promote-sow-tools.sh release "$TAG"
else
printf "unsupported tag for service tier: %s\n" "$TAG" >&2; exit 1
fi
'