Skip to content

Commit 96cd010

Browse files
authored
Merge pull request #72 from A-Baji/dev
fix dispatch ref
2 parents 0c631d6 + ba7389a commit 96cd010

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: |
8686
echo "Triggering Build and Release workflow for tag v$VERSION"
8787
API_URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/workflows/build_and_release.yml/dispatches"
88-
PAYLOAD=$(printf '{"ref":"v%s"}' "$VERSION")
88+
PAYLOAD=$(printf '{"ref":"main"}' )
8989
resp=$(curl -s -o /dev/stderr -w "%{http_code}" -X POST \
9090
-H "Accept: application/vnd.github+json" \
9191
-H "Authorization: token ${PAT}" \

0 commit comments

Comments
 (0)