Skip to content

Commit

Permalink
build: fix quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
tyzbit committed Apr 25, 2023
1 parent ec90d26 commit e03a428
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/build
Original file line number Diff line number Diff line change
@@ -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=$*

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}-
Expand Down

0 comments on commit e03a428

Please sign in to comment.