reformat curl
This commit is contained in:
		@@ -2,7 +2,7 @@
 | 
			
		||||
set -x
 | 
			
		||||
 | 
			
		||||
TOKEN=$(< token.txt)
 | 
			
		||||
git commit -a
 | 
			
		||||
EDITOR=nano git commit -a
 | 
			
		||||
 | 
			
		||||
COMMIT=$(git log | head -n 1 | cut -d' ' -f2)
 | 
			
		||||
echo $COMMIT
 | 
			
		||||
@@ -26,9 +26,9 @@ OUT=$(curl -X 'POST' \
 | 
			
		||||
 | 
			
		||||
ID=$(echo $OUT | cut -d',' -f 1 | cut -d':' -f 2)
 | 
			
		||||
 | 
			
		||||
OUT=curl -X 'POST' \
 | 
			
		||||
OUT=$(curl -X 'POST' \
 | 
			
		||||
  'https://git.deck.sh/api/v1/repos/Interfaz/ff/releases/'$ID'/assets?token='$TOKEN'' \
 | 
			
		||||
  -H 'accept: application/json' \
 | 
			
		||||
  -H 'Content-Type: multipart/form-data' \
 | 
			
		||||
  -F 'attachment=@'release-$COMMIT.zip';type=application/x-zip-compressed'
 | 
			
		||||
  -F 'attachment=@'release-$COMMIT.zip';type=application/x-zip-compressed')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user