Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Add workflow_dispatch fallback for tag-triggered releases

rcourtman44d15d02b45e
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0ddeaa3813..f54a25f1bc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -4,6 +4,12 @@ on:
push:
tags:
- 'v*.*.*'
+ workflow_dispatch:
+ inputs:
+ tag:
+ description: 'Tag to release (e.g., v4.30.0) - only needed if tag push didnt trigger automatically'
+ required: true
+ type: string
jobs:
extract-version:
@@ -16,7 +22,13 @@ jobs:
- name: Extract version from tag
id: extract
run: |
- TAG="${GITHUB_REF#refs/tags/}"
+ # Handle both tag push and manual dispatch
+ if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
+ TAG="${{ inputs.tag }}"
+ else
+ TAG="${GITHUB_REF#refs/tags/}"
+ fi
+
VERSION="${TAG#v}"
echo "tag=${TAG}" >> $GITHUB_OUTPUT
echo "version=${VERSION}" >> $GITHUB_OUTPUT