Skip to content

Commit dd13513

Browse files
committed
add distribution for debian
1 parent 5b29f83 commit dd13513

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
/sample
33
/build
44
/test
5-
/dist
5+
/dist
6+
/tinc-boot.1.gz

.goreleaser.yml

+25
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
project_name: tinc-boot
2+
before:
3+
hooks:
4+
- rm -rf tinc-boot.1.gz
5+
- pandoc MANUAL.md -s -t man -o tinc-boot.1
6+
- gzip tinc-boot.1
27
builds:
38
- main: ./cmd/tinc-boot/main.go
49
binary: tinc-boot
@@ -19,11 +24,31 @@ builds:
1924
- all=-trimpath={{.Env.GOPATH}}
2025
flags:
2126
- -trimpath
27+
nfpms:
28+
- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
29+
replacements:
30+
Linux: linux
31+
386: i386
32+
homepage: https://github.com/reddec/tinc-boot
33+
maintainer: Baryshnikov Aleksandr <owner@reddec.net>
34+
description: All-in-one tool with zero dependency to make a process to create a full-mesh Tinc network quick and easy
35+
license: Mozilla Public License Version 2.0
36+
files:
37+
"tinc-boot.1.gz" : "/usr/local/share/man/man1/tinc-boot.1.gz"
38+
formats:
39+
- deb
40+
dependencies:
41+
- tinc
2242
archives:
2343
- replacements:
2444
Linux: linux
2545
386: i386
2646
name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
47+
files:
48+
- MANUAL.md
49+
- LICENSE
50+
- README.md
51+
- tinc-boot.1.gz
2752
format: tar.gz
2853
checksum:
2954
name_template: 'checksums.txt'

MANUAL.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
% TINC-BOOT(1)
2+
% Baryshnikov Aleksandr <owner@reddec.net>
3+
% September 2019
4+
15
# Overview
26

37
**Tinc-boot** - is a all-in-one tool with zero dependency (except `tinc` of course), that aims to achieve:

0 commit comments

Comments
 (0)