Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 3b34bbe

Browse files
committed
fix: destruct upload target
1 parent 72e6d05 commit 3b34bbe

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ jobs:
4040
if: steps.release.outputs.release_created
4141
run: |
4242
URL=$(echo "${{ steps.release.outputs.upload_url }}" | sed "s/[{][^)]*[}]//g")
43-
echo "${URL}?name=vscode-qt-for-python-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.vsix"
43+
NAME="vscode-qt-for-python-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.vsix"
44+
TARGET="${URL}?name=${NAME}"
45+
echo ${TARGET}
4446
curl \
4547
-X POST \
4648
-H "Accept: application/vnd.github+json" \
4749
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
4850
-H "Content-Type: application/vsix" \
4951
--data-binary "@vscode-qt-for-python-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.vsix" \
50-
"${URL}?name=vscode-qt-for-python-${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}.vsix"
52+
${TARGET}

temp.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)