Files
zt/dist/dist-packages/linux/nfpm-openziti.yaml
2023-12-19 10:52:42 +01:00

33 lines
826 B
YAML

# nfpm configuration file
#
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: openziti
arch: ${GOARCH}
platform: linux
version: ${ZITI_VERSION}
maintainer: ${ZITI_MAINTAINER}
description: >
The openziti package provides the ziti executable binary as a command line
interface for Ziti.
vendor: ${ZITI_VENDOR}
homepage: ${ZITI_HOMEPAGE}
license: Apache-2.0
contents:
- src: ./release/ziti
dst: /opt/openziti/bin/ziti
file_info:
mode: 0755
- src: /opt/openziti/bin/ziti
dst: /usr/bin/ziti
type: symlink
replaces:
- ziti-cli
# packager-neutral scripts may be overridden by packager-specific scripts
# scripts:
# preinstall: ./scripts/preinstall.sh
# postinstall: ./scripts/postinstall.sh
# preremove: ./scripts/preremove.sh
# postremove: ./scripts/postremove.sh