Skip to content

Commit

Permalink
fix: PowerShell debug
Browse files Browse the repository at this point in the history
  • Loading branch information
manusa committed Dec 29, 2019
1 parent d9f5eb9 commit b4cea35
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,10 @@ jobs:
7z a electronim-win32-ia32.zip electronim-win32-ia32/
- name: Upload Release Asset
run: |
set VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
set RELEASE_ID=$(curl https://api.github.com/repos/manusa/electronim/releases/tags/$VERSION | jq -r ".id")
VERSION=$(echo $GITHUB_REF | sed 's/refs\/tags\///')
echo "Current version: $VERSION"
RELEASE_ID=$(curl https://api.github.com/repos/manusa/electronim/releases/tags/$VERSION | jq -r ".id")
echo "Current release: $RELEASE_ID"
curl `
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" `
-H "Content-Type: application/zip" `
Expand Down

0 comments on commit b4cea35

Please sign in to comment.