From a5377b928488eec774d567bd2f92c6746141e5a4 Mon Sep 17 00:00:00 2001 From: James Mills Date: Sun, 17 Oct 2021 16:57:33 +1000 Subject: [PATCH] Fix GoReleaser config --- .goreleaser.yml | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index a5731a39..e348e000 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,8 +1,28 @@ --- builds: - - id: twt - binary: twt - main: ./cmd/twt + - id: yarnc + binary: yarnc + main: ./cmd/yarnc + flags: -tags "static_build" + ldflags: >- + -w + -X git.mills.io/yarnsocial/yarn.Version={{.Version}} + -X git.mills.io/yarnsocial/yarn.Commit={{.Commit}} + env: + - CGO_ENABLED=0 + goos: + - darwin + - freebsd + - linux + goarch: + - amd64 + - arm64 + goarm: + - 6 + - 7 + - id: yarnd + binary: yarnd + main: ./cmd/yarnd flags: -tags "static_build" ldflags: >- -w @@ -14,28 +34,18 @@ builds: - darwin - freebsd - linux - - windows goarch: - - i386 - amd64 - - arm - arm64 goarm: - 6 - 7 signs: - artifacts: checksum -brews: - - - tap: - owner: prologic - name: homebrew-twtxt - homepage: "https://github.io/jointwt/twtxt" - description: | - 📕 twtxt is a Self-Hosted, Twitter™-like Decentralised microBlogging - platform. No ads, no tracking, your content, your data! release: - github: - owner: prologic - name: twtxt + gitea: + owner: yarnsocial + name: yarn draft: true +gitea_urls: + api: https://git.mills.io/api/v1/