diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index d0d98bf..144f9e2 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/setup-go@v3 with: { go-version: 1.20 } - run: go install github.com/go-task/task/v3/cmd/task@latest - - run: apt update && apt-get install zip + # - run: apt update && apt-get install zip - uses: actions/checkout@v3 - run: task deps - run: git reset --hard diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..2b6da3c --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,33 @@ +# Goreleaser configuration +# for building binaries and packages for distributions and releasing on github +gitea_urls: + api: https://git.treesir.pub/api/v1 + download: https://git.treesir.pub + # set to true if you use a self-signed certificate + skip_tls_verify: false + +dist: bin + +builds: + - binary: devops-sing + env: + - CGO_ENABLED=0 + main: main.go + goos: + - darwin + - linux + - freebsd + goarch: + - amd64 + ignore: + - goos: darwin + goarch: 386 + +# archives: +# - +# format_overrides: +# - goos: windows +# format: zip +# files: +# - LICENSE +# - config.json.template \ No newline at end of file