fix(release): stage the sidecar jar at the renamed embed path

This commit is contained in:
pj committed 2026-08-15 13:36:19 +05:30
1 parent 47481fed93
commit 2a807b38fc
2 files changed
+9 -5

No files matched your search

+4 -4
View File
@@ -5,10 +5,10 @@ project_name: sanderling
before:
hooks:
# The Go binary embeds the sidecar fat JAR via //go:embed gated by the
# `withsidecar` build tag. Rebuild the JAR and stage it at the embed
# path so the `go build` below picks up fresh bytes.
- make sidecar
- sh -c 'mkdir -p internal/sidecar/assets && cp sidecar/build/libs/sidecar-all.jar internal/sidecar/assets/sidecar-all.jar'
# `withsidecar` build tag. The Makefile target rebuilds the JAR and stages
# it at the embed path, so the `go build` below picks up fresh bytes and
# that path stays spelled out in exactly one place.
- make sidecar-embed
builds:
- id: sanderling
+5 -1
View File
@@ -29,7 +29,7 @@ WEB_DIST := replay-ui/dist
GOLINES := $(shell $(GO) env GOPATH)/bin/golines
.PHONY: bootstrap proto sidecar sanderling sanderling-web sanderling-android sanderling-ios install test test-go test-browser test-companion test-kotlin test-spec-api spec-typecheck web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry fmt fmt-go fmt-kotlin fmt-ts fmt-swift
.PHONY: bootstrap proto sidecar sidecar-embed sanderling sanderling-web sanderling-android sanderling-ios install test test-go test-browser test-companion test-kotlin test-spec-api spec-typecheck web-test web-typecheck web-build web-dev replay-dev docs clean release-cli release-npm-dry fmt fmt-go fmt-kotlin fmt-ts fmt-swift
bootstrap:
$(GO) mod download
@@ -42,6 +42,10 @@ proto:
sidecar: $(SIDECAR_JAR)
# Stages the JAR where //go:embed expects it. Release tooling calls this rather
# than copying the JAR itself, so the embed path is spelled out in one place.
sidecar-embed: $(SIDECAR_EMBED)
sanderling: $(SANDERLING_BIN)
$(SANDERLING_BIN): $(SIDECAR_EMBED) $(COMPANION_EMBED) $(RUNNER_EMBED) web-build