mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-16 04:24:56 +02:00
.github/workflows/devbuild.yaml: improve the sed expression.
This commit is contained in:
parent
9778fa8610
commit
ec874430c3
1 changed files with 2 additions and 2 deletions
4
.github/workflows/devbuild.yaml
vendored
4
.github/workflows/devbuild.yaml
vendored
|
|
@ -24,7 +24,7 @@ jobs:
|
|||
- name: compile
|
||||
id: compile
|
||||
run: |
|
||||
VER=$(cat Makefile | sed -n 's/^PROGRAM_VERSION\s*\(\?\)\s*=\s*//p')
|
||||
VER=$(cat Makefile | sed -n 's/^PROGRAM_VERSION\s*\??=\s*//p')
|
||||
GOOS=${{matrix.os}} GOARCH=${{matrix.arch}} PROGRAM_VERSION="${VER}-$(echo $GITHUB_SHA | cut -b -8)" make build tools
|
||||
|
||||
- name: Upload thalos-server
|
||||
|
|
@ -60,7 +60,7 @@ jobs:
|
|||
- name: compile
|
||||
id: compile
|
||||
run: |
|
||||
VER=$(cat Makefile | sed -n 's/^PROGRAM_VERSION\s*\(\?\)\s*=\s*//p')
|
||||
VER=$(cat Makefile | sed -n 's/^PROGRAM_VERSION\s*\??=\s*//p')
|
||||
GOOS=${{matrix.os}} GOARCH=${{matrix.arch}} PROGRAM_VERSION="${VER}-$(echo $GITHUB_SHA | cut -b -8)" make build tools
|
||||
|
||||
- name: Upload thalos-server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue