fix deb, rpm releases (#465)

This commit is contained in:
Anbraten 2021-10-21 18:34:49 +02:00 committed by GitHub
parent 7725058f03
commit 0e867e2010
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View file

@ -123,7 +123,7 @@ release-checksums:
release: release-frontend release-server release-agent release-cli
bundle-prepare:
go install github.com/goreleaser/nfpm/v2/cmd/nfpm@v1.10.3
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

View file

@ -5,6 +5,8 @@ version: v${WOODPECKER_VERSION}
description: Woodpecker Agent
homepage: https://github.com/woodpecker-ci/woodpecker
license: Apache 2.0
maintainer: Woodpecker Authors <maintainer@woodpecker-ci.org>
section: daemon/system
contents:
- src: ./dist/agent/linux_amd64/woodpecker-agent
dst: /usr/local/bin/woodpecker-agent

View file

@ -5,6 +5,8 @@ version: v${WOODPECKER_VERSION}
description: Woodpecker CLI
homepage: https://github.com/woodpecker-ci/woodpecker
license: Apache 2.0
maintainer: Woodpecker Authors <maintainer@woodpecker-ci.org>
section: daemon/system
contents:
- src: ./dist/cli/linux_amd64/woodpecker-cli
dst: /usr/local/bin/woodpecker

View file

@ -5,6 +5,8 @@ version: v${WOODPECKER_VERSION}
description: Woodpecker Server
homepage: https://github.com/woodpecker-ci/woodpecker
license: Apache 2.0
maintainer: Woodpecker Authors <maintainer@woodpecker-ci.org>
section: daemon/system
contents:
- src: ./dist/server/linux_amd64/woodpecker-server
dst: /usr/local/bin/woodpecker-server