shithub: hell

Download patch

ref: 92f6944d357002a6b7fa9e4e3767feb98974f190
parent: 8008013e8f7bf3af86a513cb62fd5772871ac267
author: penny <penny@limitedideas.org>
date: Tue Oct 21 10:41:52 EDT 2025

a

--- a/web/release.sh
+++ b/web/release.sh
@@ -1,15 +1,6 @@
 #!/bin/sh
 set -e
-echo "Building Linux"
-GOOS=linux GOARCH=amd64 go build -o ./downloads/linux/hell ../.
-echo "Building Mac"
-GOOS=darwin GOARCH=amd64 go build -o ./downloads/mac/hell ../.
-echo "Building Windows"
-GOOS=windows GOARCH=amd64 go build -o ./downloads/win/hell.exe ../.
-echo "Building Plan9"
-GOOS=plan9 GOARCH=amd64 go build -o ./downloads/plan9/hell ../.
 
-
 key=$(cat ~/.helltoken)
 hash=$(git rev-parse --short HEAD)
 git rev-parse --short HEAD
@@ -24,10 +15,17 @@
   -d '{
   "body": "Generated AMD64 release",
   "name": "hell for mastodon",
-  "tag_name":'"\"$key\""'
+  "tag_name":'"\"$hash\""'
 }'  | jq -r .id)
 
-echo $release_id
+echo "Building Linux"
+GOOS=linux GOARCH=amd64 go build -o ./downloads/linux/hell ../.
+echo "Building Mac"
+GOOS=darwin GOARCH=amd64 go build -o ./downloads/mac/hell ../.
+echo "Building Windows"
+GOOS=windows GOARCH=amd64 go build -o ./downloads/win/hell.exe ../.
+echo "Building Plan9"
+GOOS=plan9 GOARCH=amd64 go build -o ./downloads/plan9/hell ../.
 
 echo "Upload Plan 9"
 curl -X 'POST' \
--