diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 311ad4a042..61a3ce037e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,6 @@ builds: - - id: ftl + - &settings + id: ftl main: ./frontend/cli binary: ftl env: @@ -16,59 +17,19 @@ builds: - 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] + <<: *settings - 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] + <<: *settings - 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] + <<: *settings - 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] + <<: *settings archives: - format: tar.gz