Skip to content

Commit

Permalink
Darwin arm release (#451)
Browse files Browse the repository at this point in the history
* fir release uploads

* fix release uploads
  • Loading branch information
bogyo210 authored Apr 15, 2024
1 parent b6942e3 commit d13091f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion release/create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ echo "$(create_checksum /tmp/Linux/linux.tar 'linux.tar')" >> /tmp/checksums.txt
create_tarball "darwin.tar" /tmp/Darwin
echo "$(create_checksum /tmp/Darwin/darwin.tar 'darwin.tar')" >> /tmp/checksums.txt
create_tarball "darwin-arm.tar" /tmp/Darwin-arm
echo "$(create_checksum /tmp/Darwin-arm/darwin.tar 'darwin-arm.tar')" >> /tmp/checksums.txt
echo "$(create_checksum /tmp/Darwin-arm/darwin-arm.tar 'darwin-arm.tar')" >> /tmp/checksums.txt
create_tarball "linux-arm.tar" /tmp/Linux-arm
echo "$(create_checksum /tmp/Linux-arm/linux-arm.tar 'linux-arm.tar')" >> /tmp/checksums.txt

Expand Down
4 changes: 2 additions & 2 deletions release/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ curl \
-X POST \
-H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: $(file -b --mime-type /tmp/Darwin/darwin-arm.tar)" \
--data-binary @/tmp/Darwin/darwin-arm.tar \
-H "Content-Type: $(file -b --mime-type /tmp/Darwin-arm/darwin-arm.tar)" \
--data-binary @/tmp/Darwin-arm/darwin-arm.tar \
"https://uploads.github.com/repos/semaphoreci/toolbox/releases/$release_id/assets?name=darwin-arm.tar"

echo "darwin-arm.tar uploaded"
Expand Down

0 comments on commit d13091f

Please sign in to comment.