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.

Fix: create git tag explicitly before release

rcourtman1586f80208ae
diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml
index 8353b2dcd3..0c3ca6e57d 100644
--- a/.github/workflows/create-release.yml
+++ b/.github/workflows/create-release.yml
@@ -407,6 +407,15 @@ jobs:
echo "Release notes content:"
cat "$NOTES_FILE"
+ - name: Create git tag
+ run: |
+ TAG="${{ needs.extract_version.outputs.tag }}"
+
+ echo "Creating git tag ${TAG}..."
+ git tag "${TAG}" "${{ github.sha }}"
+ git push origin "${TAG}"
+ echo "✓ Tag ${TAG} created and pushed"
+
- name: Create draft release
id: create_release
env:
@@ -417,13 +426,11 @@ jobs:
echo "Creating draft release for ${TAG}..."
- # Create the tag and release together
- # gh release create will create both the tag and the release
+ # Tag now exists, so gh release create will attach to it
gh release create "${TAG}" \
--draft \
--title "Pulse ${TAG}" \
- --notes-file "$NOTES_FILE" \
- --target "${{ github.sha }}"
+ --notes-file "$NOTES_FILE"
rm -f "$NOTES_FILE"