Skip to content

Commit

Permalink
⬆️ Upload Windows artifacts to GitHub release (#66)
Browse files Browse the repository at this point in the history
* ⬆️ Upload Windows artifacts to GitHub release

* forgot the dollar sign 💲

* found it

* v3.2.2
  • Loading branch information
Gilad-Gur-Andelman authored Feb 5, 2024
1 parent 0a0679b commit 491531e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ jobs:
command: |
UPLOAD_URL="https://uploads.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/releases/$RELEASE_ID/assets?name=$WINDOWS_INSTALLER_FILE_NAME"
echo "UPLOAD_URL $UPLOAD_URL"
UPLOAD_ASSET_RESPONSE=(\
UPLOAD_ASSET_RESPONSE=$(\
curl --fail-with-body -L \
-H "Authorization: Bearer $GITHUB_API_TOKEN" \
-H "Content-Type: $(file -b --mime-type $WINDOWS_INSTALLER_PATH)" \
Expand All @@ -241,7 +241,7 @@ jobs:
command: |
UPLOAD_URL="https://uploads.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/releases/$RELEASE_ID/assets?name=$WINDOWS_ZIP_FILE_NAME"
echo "UPLOAD_URL $UPLOAD_URL"
UPLOAD_ASSET_RESPONSE=(\
UPLOAD_ASSET_RESPONSE=$(\
curl --fail-with-body -L \
-H "Authorization: Bearer $GITHUB_API_TOKEN" \
-H "Content-Type: $(file -b --mime-type $WINDOWS_ZIP_PATH)" \
Expand All @@ -250,7 +250,6 @@ jobs:
)
echo "UPLOAD_ASSET_RESPONSE"
echo "$UPLOAD_ASSET_RESPONSE" | jq .
workflows:
version: 2
build:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "desktop-app",
"productName": "Loadmill",
"version": "3.2.1",
"version": "3.2.2",
"description": "The Loadmill desktop app",
"author": {
"name": "Gilad Gur Andelman",
Expand Down

0 comments on commit 491531e

Please sign in to comment.