From 8eb4f8896fc4ab024a50e1a0ed7853c652118427 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Fri, 1 Nov 2024 14:39:27 +1100 Subject: [PATCH] fix: release language plugins (#3292) Without this other projects can't run `ftl-language-go` `ftl-language-java` `ftl-language-kotlin` `ftl-language-python` --- .goreleaser.yaml | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9eba15c632..311ad4a042 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -13,6 +13,62 @@ builds: flags: -trimpath ldflags: -s -w -buildid= -X github.com/TBD54566975/ftl.Version={{.Version}} -X github.com/TBD54566975/ftl.Timestamp={{ .CommitTimestamp }} tags: [release] + - id: ftl-language-go + main: ./go-runtime/cmd/ftl-language-go + binary: ftl-language-go + env: + - CGO_ENABLED=0 + goarch: + - amd64 + - arm64 + goos: + - linux + - darwin + flags: -trimpath + ldflags: -s -w -buildid= -X github.com/TBD54566975/ftl.Version={{.Version}} -X github.com/TBD54566975/ftl.Timestamp={{ .CommitTimestamp }} + tags: [release] + - id: ftl-language-java + main: ./jvm-runtime/cmd/ftl-language-java + binary: ftl-language-java + env: + - CGO_ENABLED=0 + goarch: + - amd64 + - arm64 + goos: + - linux + - darwin + flags: -trimpath + ldflags: -s -w -buildid= -X github.com/TBD54566975/ftl.Version={{.Version}} -X github.com/TBD54566975/ftl.Timestamp={{ .CommitTimestamp }} + tags: [release] + - id: ftl-language-kotlin + main: ./jvm-runtime/cmd/ftl-language-kotlin + binary: ftl-language-kotlin + env: + - CGO_ENABLED=0 + goarch: + - amd64 + - arm64 + goos: + - linux + - darwin + flags: -trimpath + ldflags: -s -w -buildid= -X github.com/TBD54566975/ftl.Version={{.Version}} -X github.com/TBD54566975/ftl.Timestamp={{ .CommitTimestamp }} + tags: [release] + - id: ftl-language-python + main: ./python-runtime/cmd/ftl-language-python + binary: ftl-language-python + env: + - CGO_ENABLED=0 + goarch: + - amd64 + - arm64 + goos: + - linux + - darwin + flags: -trimpath + ldflags: -s -w -buildid= -X github.com/TBD54566975/ftl.Version={{.Version}} -X github.com/TBD54566975/ftl.Timestamp={{ .CommitTimestamp }} + tags: [release] archives: - format: tar.gz