Skip to content

Commit

Permalink
tools: renaming deprecate version (#36572)
Browse files Browse the repository at this point in the history
Signed-off-by: Alyssa Wilk <alyssar@chromium.org>
  • Loading branch information
alyssawilk authored Oct 14, 2024
1 parent 2b81e5e commit 34838db
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ deadline of 3 weeks.
* Switch the repo back to "dev" mode by running `bazel run @envoy_repo//:dev`. This tool will create a commit with the
necessary changes to continue development.
* Create a pull request with that commit.
* Run the deprecate_versions.py script (`bazel run //tools/deprecate_version:deprecate_version`)
* Run the deprecate_guards.py script (`bazel run //tools/deprecate_guards:deprecate_guards`)
* If you haven't done this before, request posting permission from admins for all the groups in the next bullet.
* Craft a witty/uplifting email and send it to all the email aliases:
envoy-announce@googlegroups.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ load("@rules_python//python:defs.bzl", "py_binary")
licenses(["notice"]) # Apache 2

py_binary(
name = "deprecate_version",
srcs = ["deprecate_version.py"],
name = "deprecate_guards",
srcs = ["deprecate_guards.py"],
deps = [
"@envoy_repo",
requirement("gitpython"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Bazel usage
#
# bazel run //tools/deprecate_version:deprecate_version
# bazel run //tools/deprecate_guards:deprecate_guards
#
# A GitHub access token must be set in GITHUB_TOKEN. To create one, go to
# Settings -> Developer settings -> Personal access tokens in GitHub and create
Expand Down Expand Up @@ -196,8 +196,7 @@ def get_runtime_and_pr():
access_token = os.getenv('GITHUB_TOKEN')
if not access_token:
print(
'Missing GITHUB_TOKEN: see instructions in tools/deprecate_version/deprecate_version.py'
)
'Missing GITHUB_TOKEN: see instructions in tools/deprecate_guards/deprecate_guards.py')
sys.exit(1)

create_issues(access_token, runtime_and_pr)

0 comments on commit 34838db

Please sign in to comment.