Skip to content

Commit 6e15d64

Browse files
authored
Merge pull request #5 from epithet-ssh/mc/release
Release Windows packages and 64bits only
2 parents 14c9964 + adcf1ab commit 6e15d64

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
/epithet-auth
66
.vscode
77
tmp
8-
8+
*.exe

.goreleaser.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,35 @@ builds:
55
- id: epithet-agent
66
binary: epithet-agent
77
main: ./cmd/epithet-agent/
8+
goos:
9+
- linux
10+
- darwin
11+
- windows
12+
goarch:
13+
- amd64
814
- id: epithet-auth
915
binary: epithet-auth
1016
main: ./cmd/epithet-auth/
17+
goos:
18+
- linux
19+
- darwin
20+
- windows
21+
goarch:
22+
- amd64
1123
- id: epithet-ca
1224
binary: epithet-ca
1325
main: ./cmd/epithet-ca/
26+
goos:
27+
- linux
28+
- darwin
29+
- windows
30+
goarch:
31+
- amd64
1432
archives:
1533
- replacements:
1634
darwin: Darwin
1735
linux: Linux
1836
windows: Windows
19-
386: i386
2037
amd64: x86_64
2138
checksum:
2239
name_template: 'checksums.txt'

cmd/epithet-agent/epithet-agent.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,6 @@ func run(cc *cobra.Command, args []string) error {
8383
case rs := <-sigs:
8484
signal.Stop(sigs)
8585
switch rs {
86-
case os.Kill:
87-
log.Info("KILL received")
88-
syscall.Kill(syscall.Getpid(), syscall.SIGKILL)
8986
default:
9087
log.Info("INT received")
9188
return nil

0 commit comments

Comments
 (0)