mirror of
https://github.com/tailscale/tailscale.git
synced 2025-08-12 05:37:32 +00:00
release/dist: run yarn build before building CLI
This builds the assets for the new web client as part of our release process. These assets will soon be embedded into the cmd/tailscale binary, but are not actually done so yet. Updates tailscale/corp#13775 Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
9
release/dist/unixpkgs/pkgs.go
vendored
9
release/dist/unixpkgs/pkgs.go
vendored
@@ -53,6 +53,9 @@ func (t *tgzTarget) Build(b *dist.Build) ([]string, error) {
|
||||
} else {
|
||||
filename = fmt.Sprintf("tailscale_%s_%s_%s.tgz", b.Version.Short, t.os(), t.arch())
|
||||
}
|
||||
if err := b.BuildWebClientAssets(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ts, err := b.BuildGoBinary("tailscale.com/cmd/tailscale", t.goEnv)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -193,6 +196,9 @@ func (t *debTarget) Build(b *dist.Build) ([]string, error) {
|
||||
return nil, errors.New("deb only supported on linux")
|
||||
}
|
||||
|
||||
if err := b.BuildWebClientAssets(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ts, err := b.BuildGoBinary("tailscale.com/cmd/tailscale", t.goEnv)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -305,6 +311,9 @@ func (t *rpmTarget) Build(b *dist.Build) ([]string, error) {
|
||||
return nil, errors.New("rpm only supported on linux")
|
||||
}
|
||||
|
||||
if err := b.BuildWebClientAssets(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
ts, err := b.BuildGoBinary("tailscale.com/cmd/tailscale", t.goEnv)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Reference in New Issue
Block a user