-
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #295 from arran4/goreleaser-improvements
Goreleaser improvements
- Loading branch information
Showing
2 changed files
with
34 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# This is an example .goreleaser.yml file with some sensible defaults. | ||
# Make sure to check the documentation at https://goreleaser.com | ||
version: 2 | ||
project_name: slackdump | ||
before: | ||
hooks: | ||
# You may remove this if you don't use go modules. | ||
- go mod tidy | ||
builds: | ||
- env: | ||
- id: slackdump | ||
env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
|
@@ -17,7 +20,8 @@ builds: | |
main: ./cmd/slackdump | ||
|
||
archives: | ||
- format: tar.gz | ||
- id: default | ||
format: tar.gz | ||
# this name template makes the OS and Arch compatible with the results of uname. | ||
name_template: >- | ||
{{ .ProjectName }}_ | ||
|
@@ -30,6 +34,10 @@ archives: | |
format_overrides: | ||
- goos: windows | ||
format: zip | ||
files: | ||
- LICENSE | ||
- README.rst | ||
- slackdump.1 | ||
checksum: | ||
name_template: 'checksums.txt' | ||
snapshot: | ||
|
@@ -41,6 +49,26 @@ changelog: | |
- '^docs:' | ||
- '^test:' | ||
|
||
nfpms: | ||
- | ||
vendor: Rustam | ||
homepage: https://github.com/rusq | ||
maintainer: Rustam <[email protected]> | ||
description: Save or export your private and public Slack messages, threads, files, and users locally without admin privileges. | ||
license: GPL-3.0 | ||
formats: | ||
- apk | ||
- deb | ||
- rpm | ||
- termux.deb | ||
- archlinux | ||
release: 1 | ||
section: default | ||
priority: extra | ||
contents: | ||
- src: ./slackdump.1 | ||
dst: /usr/share/man/man1/slackdump.1 | ||
|
||
# The lines beneath this are called `modelines`. See `:help modeline` | ||
# Feel free to remove those if you don't want/use them. | ||
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json | ||
|