shithub: hell

Download patch

ref: a85536efcb98945c81c457fb3a4dc4ab4a7bca8f
parent: 21bfd24625f8be4e80ff231ce5653ee4167c5640
author: penny <penny@limitedideas.org>
date: Tue Oct 21 10:19:55 EDT 2025

script fiddling

--- a/web/release.sh
+++ b/web/release.sh
@@ -1,19 +1,18 @@
 #!/bin/sh
 set -e
-cd ./downloads
 echo "Building Linux"
-GOOS=linux GOARCH=amd64 go build -o ./linux/hell ../../.
+GOOS=linux GOARCH=amd64 go build -o ./downloads/linux/hell ../.
 echo "Building Mac"
-GOOS=darwin GOARCH=amd64 go build -o ./mac/hell ../../.
+GOOS=darwin GOARCH=amd64 go build -o ./downloads/mac/hell ../.
 echo "Building Windows"
-GOOS=windows GOARCH=amd64 go build -o ./win/hell.exe ../../.
+GOOS=windows GOARCH=amd64 go build -o ./downloads/win/hell.exe ../.
 echo "Building Plan9"
-GOOS=plan9 GOARCH=amd64 go build -o ./plan9/hell ../../.
+GOOS=plan9 GOARCH=amd64 go build -o ./downloads/plan9/hell ../.
 
 
 key=$(cat ~/.helltoken)
 hash=$(git rev-parse --short HEAD)
-
+git rev-parse --short HEAD
 git tag $hash
 git push origin --tags
 
@@ -36,7 +35,7 @@
   -H 'accept: application/json' \
   -H "Authorization: token $key" \
   -H 'Content-Type: multipart/form-data' \
-  -F 'attachment=@./plan9/hell'
+  -F 'attachment=@./downloads/plan9/hell'
 
 echo "Upload Mac"
 curl -X 'POST' \
@@ -44,7 +43,7 @@
   -H 'accept: application/json' \
   -H "Authorization: token $key" \
   -H 'Content-Type: multipart/form-data' \
-  -F 'attachment=@./mac/hell'
+  -F 'attachment=@./downloads/mac/hell'
 
 echo "Upload Windows"
 curl -X 'POST' \
@@ -52,7 +51,7 @@
   -H 'accept: application/json' \
   -H "Authorization: token $key" \
   -H 'Content-Type: multipart/form-data' \
-  -F 'attachment=@./win/hell.exe'
+  -F 'attachment=@./downloads/win/hell.exe'
 
 echo "Upload Linux"
 curl -X 'POST' \
@@ -60,4 +59,4 @@
   -H 'accept: application/json' \
   -H "Authorization: token $key" \
   -H 'Content-Type: multipart/form-data' \
-  -F 'attachment=@./linux/hell'
+  -F 'attachment=@./downloads/linux/hell'
--