ci: only read/modify `GO_TAGS` field (#9815)
Only lookup GO_TAGS variable, and avoid the false positives where GO_TAGS is a variable suffix.
This commit is contained in:
parent
6ec555afd1
commit
74dcee0936
|
@ -427,7 +427,7 @@ jobs:
|
||||||
name: build binaries
|
name: build binaries
|
||||||
command: |
|
command: |
|
||||||
source ${BASH_ENV}
|
source ${BASH_ENV}
|
||||||
export GO_TAGS="ui $(grep 'GO_TAGS ?=' ./GNUmakefile | cut -d= -f2)"
|
export GO_TAGS="ui $(grep -e '^GO_TAGS ?=' ./GNUmakefile | cut -d= -f2)"
|
||||||
make pkg/darwin_amd64.zip
|
make pkg/darwin_amd64.zip
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: pkg/darwin_amd64.zip
|
path: pkg/darwin_amd64.zip
|
||||||
|
@ -476,7 +476,7 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
name: build binaries
|
name: build binaries
|
||||||
command: |
|
command: |
|
||||||
export GO_TAGS="ui $(grep 'GO_TAGS ?=' ./GNUmakefile | cut -d= -f2)"
|
export GO_TAGS="ui $(grep -e '^GO_TAGS ?=' ./GNUmakefile | cut -d= -f2)"
|
||||||
make pkg/windows_amd64.zip pkg/linux_amd64.zip
|
make pkg/windows_amd64.zip pkg/linux_amd64.zip
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: pkg
|
path: pkg
|
||||||
|
|
Loading…
Reference in New Issue