Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,25 +80,6 @@ builds:
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
- -extldflags "-lc -lrt -lpthread --static"
- id: akash-windows-amd64
binary: akash
main: ./cmd/akash
goarch:
- amd64
goos:
- windows
env:
- CC=x86_64-w64-mingw32-gcc
- CXX=x86_64-w64-mingw32-g++
flags:
- "-mod={{ .Env.MOD }}"
- "-tags={{ .Env.BUILD_TAGS }}"
- -trimpath
- -buildmode=exe
ldflags:
- "{{ .Env.BUILD_VARS }}"
- "{{ .Env.STRIP_FLAGS }}"
- "-linkmode={{ .Env.LINKMODE }}"
universal_binaries:
- id: akash-darwin-universal
ids:
Expand All @@ -112,7 +93,6 @@ archives:
- akash-darwin-universal
- akash-linux-amd64
- akash-linux-arm64
- akash-windows-amd64
name_template: "akash_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
formats:
Expand All @@ -124,7 +104,6 @@ archives:
- akash-darwin-universal
- akash-linux-amd64
- akash-linux-arm64
- akash-windows-amd64
name_template: "akash_{{ .Os }}_{{ .Arch }}"
wrap_in_directory: false
formats:
Expand Down
7 changes: 3 additions & 4 deletions cmd/akash/cmd/testnetify/testnetify.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
"fmt"
"io"
"os"
"os/signal"
"path/filepath"
"sort"
"strings"
Expand Down Expand Up @@ -163,9 +162,9 @@ you want to test the upgrade handler itself.

go func() {
defer func() {
sigChan := make(chan os.Signal, 1)
signal.Notify(sigChan, os.Interrupt)
sigChan <- os.Interrupt
if proc, err := os.FindProcess(os.Getpid()); err == nil {
_ = proc.Signal(os.Interrupt)
}
}()
ctx := cmd.Context()

Expand Down
Loading