mirror of
https://github.com/KaySar12/NextZen-UserService.git
synced 2025-10-06 19:59:42 +07:00
44 lines
921 B
YAML
44 lines
921 B
YAML
|
|
# This is an example .goreleaser.yml file with some sensible defaults.
|
||
|
|
# Make sure to check the documentation at https://goreleaser.com
|
||
|
|
project_name: casaos-user-service
|
||
|
|
before:
|
||
|
|
hooks:
|
||
|
|
# You may remove this if you don't use go modules.
|
||
|
|
- go mod tidy
|
||
|
|
builds:
|
||
|
|
- binary: build/usr/bin/casaos-user-service
|
||
|
|
env:
|
||
|
|
- CGO_ENABLED=0
|
||
|
|
goos:
|
||
|
|
- linux
|
||
|
|
goarch:
|
||
|
|
- amd64
|
||
|
|
- arm64
|
||
|
|
- arm
|
||
|
|
goarm:
|
||
|
|
- 7
|
||
|
|
archives:
|
||
|
|
- name_template: "{{ .Os }}-{{ .Arch }}-{{ .ProjectName }}"
|
||
|
|
replacements:
|
||
|
|
arm: arm-7
|
||
|
|
files:
|
||
|
|
- build/**/*
|
||
|
|
checksum:
|
||
|
|
name_template: 'checksums.txt'
|
||
|
|
snapshot:
|
||
|
|
name_template: "{{ incpatch .Version }}-snapshot"
|
||
|
|
changelog:
|
||
|
|
sort: asc
|
||
|
|
filters:
|
||
|
|
exclude:
|
||
|
|
- '^docs:'
|
||
|
|
- '^test:'
|
||
|
|
release:
|
||
|
|
github:
|
||
|
|
owner: IceWhaleTech
|
||
|
|
name: CasaOS-UserService
|
||
|
|
draft: true
|
||
|
|
prerelease: auto
|
||
|
|
mode: replace
|
||
|
|
name_template: "v{{ .Version }}"
|