Joey Perrott c44baa4c5c feat(dev-infra): support --mode flag for building environment stamp (#40095)
When building the environment stamp, support two modes: release and snapshot

The release mode will always stamp using the current version of in the root package.json
and in snapshot mode will use a version stamp expressing a version based on the tag and
the number of commits from the tag.

PR Close #40095
2020-12-15 13:36:56 -08:00

20 lines
495 B
Python

load("@npm//@bazel/typescript:index.bzl", "ts_library")
ts_library(
name = "release",
srcs = glob([
"**/*.ts",
]),
module_name = "@angular/dev-infra-private/release",
visibility = ["//dev-infra:__subpackages__"],
deps = [
"//dev-infra/release/build",
"//dev-infra/release/publish",
"//dev-infra/release/set-dist-tag",
"//dev-infra/utils",
"@npm//@types/node",
"@npm//@types/yargs",
"@npm//yargs",
],
)