mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-22 18:01:02 +00:00
Fix Makefile by exposing VERSION_NUMBER var for bundle targets (#816)
This commit is contained in:
parent
59ba8538a1
commit
86748bb8f6
1 changed files with 6 additions and 6 deletions
12
Makefile
12
Makefile
|
@ -165,16 +165,16 @@ bundle-prepare:
|
|||
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v2.6.0
|
||||
|
||||
bundle-agent: bundle-prepare
|
||||
nfpm package --config ./nfpm/nfpm-agent.yml --target ./dist --packager deb
|
||||
nfpm package --config ./nfpm/nfpm-agent.yml --target ./dist --packager rpm
|
||||
VERSION_NUMBER=$(VERSION_NUMBER) nfpm package --config ./nfpm/nfpm-agent.yml --target ./dist --packager deb
|
||||
VERSION_NUMBER=$(VERSION_NUMBER) nfpm package --config ./nfpm/nfpm-agent.yml --target ./dist --packager rpm
|
||||
|
||||
bundle-server: bundle-prepare
|
||||
nfpm package --config ./nfpm/nfpm-server.yml --target ./dist --packager deb
|
||||
nfpm package --config ./nfpm/nfpm-server.yml --target ./dist --packager rpm
|
||||
VERSION_NUMBER=$(VERSION_NUMBER) nfpm package --config ./nfpm/nfpm-server.yml --target ./dist --packager deb
|
||||
VERSION_NUMBER=$(VERSION_NUMBER) nfpm package --config ./nfpm/nfpm-server.yml --target ./dist --packager rpm
|
||||
|
||||
bundle-cli: bundle-prepare
|
||||
nfpm package --config ./nfpm/nfpm-cli.yml --target ./dist --packager deb
|
||||
nfpm package --config ./nfpm/nfpm-cli.yml --target ./dist --packager rpm
|
||||
VERSION_NUMBER=$(VERSION_NUMBER) nfpm package --config ./nfpm/nfpm-cli.yml --target ./dist --packager deb
|
||||
VERSION_NUMBER=$(VERSION_NUMBER) nfpm package --config ./nfpm/nfpm-cli.yml --target ./dist --packager rpm
|
||||
|
||||
bundle: bundle-agent bundle-server bundle-cli
|
||||
|
||||
|
|
Loading…
Reference in a new issue