All checks were successful
Build / build (pull_request) Successful in 2m11s
- add the nfpm package by compiling the project from source
39 lines
767 B
YAML
39 lines
767 B
YAML
# nfpm.yaml
|
|
|
|
name: nfpm
|
|
version: ${PACKAGE_VERSION}
|
|
release: ${PACKAGE_RELEASE}
|
|
arch: amd64
|
|
platform: linux
|
|
section: default
|
|
priority: extra
|
|
description: "A zero dependencies, simple deb, rpm, apk, ipk, and arch linux packager written in Go."
|
|
|
|
maintainer: GoReleaser
|
|
homepage: https://nfpm.goreleaser.com/
|
|
license: MIT
|
|
|
|
disable_globbing: false
|
|
|
|
replaces:
|
|
- nfpm
|
|
|
|
provides:
|
|
- nfpm
|
|
|
|
# Files to include in the package
|
|
contents:
|
|
- src: /app/nfpm
|
|
dst: /usr/bin/nfpm
|
|
file_info:
|
|
mode: 0755
|
|
owner: root
|
|
group: root
|
|
|
|
# Scripts to run during installation/removal (optional)
|
|
# scripts:
|
|
# preinstall: ./scripts/preinstall.sh
|
|
# postinstall: ./scripts/postinstall.sh
|
|
# preremove: ./scripts/preremove.sh
|
|
# postremove: ./scripts/postremove.sh
|