Skip to content

Commit

Permalink
Change Asset Name
Browse files Browse the repository at this point in the history
  • Loading branch information
dullage committed May 22, 2020
1 parent 47d9b14 commit 806e579
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .jenkins/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -e

asset=$WORKSPACE/builds/JiraWidget-win32-ia32/JiraWidget.zip
asset_name=JiraWidget.zip
tag=v$(cat $WORKSPACE/package.json | jq -r ".version")

printf "Creating Release...\n"
Expand All @@ -22,4 +23,4 @@ curl -fsS -o /dev/null \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Content-Type: $(file -b --mime-type $asset)" \
--data-binary @$asset \
$upload_url?name=$asset
$upload_url?name=$asset_name

0 comments on commit 806e579

Please sign in to comment.