File tree 3 files changed +11
-20
lines changed
3 files changed +11
-20
lines changed Original file line number Diff line number Diff line change @@ -9,25 +9,17 @@ replaces:
9
9
- heplify
10
10
provides :
11
11
- heplify
12
- maintainer :
" QXIP SIPCapture <[email protected] >"
12
+ maintainer :
" QXIP Sipcapture <[email protected] >"
13
13
description : |
14
14
HEP Capture Agent for HOMER/SIPCAPTURE
15
15
vendor : " QXIP"
16
16
homepage : " http://qxip.net"
17
17
license : " AGPLv3"
18
- bindir : " /usr/local/bin"
19
- files :
20
- /tmp/pkg/heplify : " /usr/local/bin/heplify"
21
- config_files :
22
- /tmp/pkg/example/heplify.service : " /lib/systemd/system/heplify.service"
23
- # /tmp/pkg/etc/heplify.toml: "/opt/heplify/heplify.toml"
24
- # overrides:
25
- # rpm:
26
- # scripts:
27
- # preinstall: ./scripts/preinstall.sh
28
- # postremove: ./scripts/postremove.sh
29
- # deb:
30
- # scripts:
31
- # postinstall: ./scripts/postinstall.sh
32
- # preremove: ./scripts/preremove.sh
33
-
18
+ contents :
19
+ # Basic file that applies to all packagers
20
+ - src : /tmp/pkg/heplify
21
+ dst : /usr/local/bin/heplify
22
+ # Simple config file
23
+ - src : /tmp/pkg/example/heplify.service
24
+ dst : /lib/systemd/system/heplify.service
25
+ type : config
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import (
12
12
"github.com/sipcapture/heplify/sniffer"
13
13
)
14
14
15
- const version = "heplify 1.64 "
15
+ const version = "heplify 1.65.1 "
16
16
17
17
func createFlags () {
18
18
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- VERSION=$( cat $PWD /main.go | grep " const version" | grep -Po ' \d.\d+' )
3
+ VERSION=$( cat $PWD /main.go | grep " const version" | grep -Po ' \d.\d+.\d+ ' )
4
4
5
5
PACKAGE=${PACKAGE:- " heplify" }
6
6
RELEASE=${VERSION:- " 1.5.3" }
@@ -26,4 +26,3 @@ docker run --rm \
26
26
-v $PWD :/tmp/pkg \
27
27
-e VERSION=" $RELEASE " \
28
28
goreleaser/nfpm pkg --config /tmp/pkg/example/$PACKAGE .yaml --target " /tmp/pkg/$PACKAGE -$RELEASE -$ARCH .$EXT "
29
-
You can’t perform that action at this time.
0 commit comments