mirror of
https://github.com/csd4ni3l/connect-the-current.git
synced 2026-01-01 04:13:41 +01:00
Fix tag being main instead of latest
This commit is contained in:
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -104,7 +104,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
TAG="${{ github.ref_name }}"
|
TAG="latest"
|
||||||
echo "Target release tag: $TAG"
|
echo "Target release tag: $TAG"
|
||||||
if gh release view "$TAG" >/dev/null 2>&1; then
|
if gh release view "$TAG" >/dev/null 2>&1; then
|
||||||
echo "Release $TAG already exists; will upload assets with --clobber"
|
echo "Release $TAG already exists; will upload assets with --clobber"
|
||||||
|
|||||||
Reference in New Issue
Block a user