Swallow "errors" from heredocs
This commit is contained in:
		
							parent
							
								
									cebdcfe220
								
							
						
					
					
						commit
						1628a45f7d
					
				| 
						 | 
				
			
			@ -27,7 +27,7 @@ fi
 | 
			
		|||
docker build -f build.Dockerfile -t lemur-build .
 | 
			
		||||
MSYS_NO_PATHCONV=1 docker run -it --rm -v .:/app -w /app --entrypoint bash lemur-build /app/scripts/do-bundle.sh
 | 
			
		||||
 | 
			
		||||
read -r -d EOF 'body' <<EOF
 | 
			
		||||
(read -r -d EOF 'body' <<EOF
 | 
			
		||||
## How to install
 | 
			
		||||
 | 
			
		||||
The emulator can be found in the "Downloads" section of this release.
 | 
			
		||||
| 
						 | 
				
			
			@ -48,8 +48,9 @@ If you're not sure which to choose, use [this guide](https://support.apple.com/e
 | 
			
		|||
 | 
			
		||||
You can either download and run \`lemur-linux\`, or download and install the attached .deb file.
 | 
			
		||||
EOF
 | 
			
		||||
) || true
 | 
			
		||||
 | 
			
		||||
read -r -d EOF 'payload' <<EOF
 | 
			
		||||
(read -r -d EOF 'payload' <<EOF
 | 
			
		||||
{
 | 
			
		||||
  "body": $(echo "$body" | jq -Rsa .),
 | 
			
		||||
  "draft": false,
 | 
			
		||||
| 
						 | 
				
			
			@ -58,6 +59,7 @@ read -r -d EOF 'payload' <<EOF
 | 
			
		|||
  "tag_name": "v${version}"
 | 
			
		||||
}
 | 
			
		||||
EOF
 | 
			
		||||
) || true
 | 
			
		||||
 | 
			
		||||
echo "Creating release..."
 | 
			
		||||
response=$(curl -s --json "$payload" "https://git.virtual-boy.com/api/v1/repos/PVB/lemur/releases?token=$RELEASE_TOKEN")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue