mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 11:05:45 +00:00
release: add empty embed.FS for release files
This ensures that `go mod vendor` includes these files, which are needed for client builds run in corp. Updates tailscale/corp#13775 Signed-off-by: Will Norris <will@tailscale.com>
This commit is contained in:
parent
836f932ead
commit
09068f6c16
15
release/release.go
Normal file
15
release/release.go
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
// Copyright (c) Tailscale Inc & AUTHORS
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
|
// Package release provides functionality for building client releases.
|
||||||
|
package release
|
||||||
|
|
||||||
|
import "embed"
|
||||||
|
|
||||||
|
// This contains all files in the release directory,
|
||||||
|
// notably the files needed for deb, rpm, and similar packages.
|
||||||
|
// Because we assign this to the blank identifier, it does not actually embed the files.
|
||||||
|
// However, this does cause `go mod vendor` to include the files when vendoring the package.
|
||||||
|
//
|
||||||
|
//go:embed *
|
||||||
|
var _ embed.FS
|
Loading…
Reference in New Issue
Block a user