chore: document updates

This commit is contained in:
nadoo committed 2022-01-26 22:31:56 +08:00
1 parent b0b043a280
commit 755a8ca565
8 files changed
+24 -32

No files matched your search

+1 -26
View File
@@ -1,30 +1,11 @@
# Make sure to check the documentation at http://goreleaser.com
# release:
# git tag -a v0.1.0 -m "v0.1.0"
# git push origin v0.1.0
# goreleaser release --skip-publish --rm-dist
# #git tag -d v0.1.0
# #git push origin --delete tag v0.1.0
# snapshot:
# goreleaser --snapshot --rm-dist
# https://goreleaser.com/customization/
before:
hooks:
- go mod tidy
# https://goreleaser.com/customization/build/
builds:
- id: default
env:
- CGO_ENABLED=0
# GOOS list to build for.
# For more info refer to: https://go.dev/doc/install/source#environment
# Defaults are darwin and linux.
goos:
- windows
- linux
@@ -47,7 +28,6 @@ builds:
- hardfloat
- softfloat
# https://goreleaser.com/customization/archive/
archives:
- id: default
builds:
@@ -66,23 +46,18 @@ archives:
- config/**/*
- systemd/*
# https://goreleaser.com/customization/snapshots/
snapshot:
name_template: '{{ incpatch .Version }}-dev'
# https://goreleaser.com/customization/checksum/
checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_checksums.txt"
# https://goreleaser.com/customization/release/
release:
prerelease: true
draft: true
# https://goreleaser.com/customization/nfpm/
nfpms:
-
id: glider
- id: glider
package_name: glider
vendor: nadoo
homepage: https://github.com/nadoo/glider