From e03a428f71aad2e08a3a37eb43d5312404e9d852 Mon Sep 17 00:00:00 2001 From: Tyler Hawkins <3319104+tyzbit@users.noreply.github.com> Date: Tue, 25 Apr 2023 17:17:39 -0400 Subject: [PATCH] build: fix quoting --- .github/build | 12 ++++++------ .github/workflows/release.yaml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/build b/.github/build index ea5464b..53b39df 100755 --- a/.github/build +++ b/.github/build @@ -1,11 +1,11 @@ #!/bin/bash -APPNAME=$1 -TAG=$2 -BUILDFLAGS=$3 -GOOS=$4 -GOARCH=$5 -EXT=$6 +APPNAME="$1" +TAG="$2" +BUILDFLAGS="$3" +GOOS="$4" +GOARCH="$5" +EXT="$6" shift 6 OPTIONS=$* diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b3308be..c2f7e6d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -37,12 +37,12 @@ jobs: goversion: 1.19.5 build_command: >- ./.github/build - "${{ github.event.repository.name }}" - "${{ github.ref_name }}" - "${{ matrix.ldflags }}" - "${{ matrix.goos }}" - "${{ matrix.goarch }}" - "${{ matrix.ext }}" + ${{ github.event.repository.name }} + ${{ github.ref_name }} + ${{ matrix.ldflags }} + ${{ matrix.goos }} + ${{ matrix.goarch }} + ${{ matrix.ext }} asset_name: >- ${{ github.event.repository.name }}- ${{ github.ref_name }}-