From 82cced2187816b38afb7f21b474de1517b4f7422 Mon Sep 17 00:00:00 2001 From: Mathieu Hofman <86499+mhofman@users.noreply.github.com> Date: Thu, 7 Dec 2023 14:05:39 -0800 Subject: [PATCH] chore: fix release instructions and tools (#8527) --- MAINTAINERS.md | 2 +- scripts/get-released-tags | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS.md b/MAINTAINERS.md index a1db9e26f49..c97b0f26d26 100644 --- a/MAINTAINERS.md +++ b/MAINTAINERS.md @@ -117,7 +117,7 @@ prior=$(git tag -l | sed -ne 's!^@agoric/sdk@\([0-9]*\).*!\1!p' | sort -n | tail SDKVER=$(( prior + 1 )) git tag @agoric/sdk@$SDKVER # Push the branch. -git push -u origin release-$now +git push -u origin prepare-release-$now # Tell which packages have actual news. scripts/have-news HEAD^ > have-news.md ``` diff --git a/scripts/get-released-tags b/scripts/get-released-tags index 8615f7d6147..adefbd38e54 100755 --- a/scripts/get-released-tags +++ b/scripts/get-released-tags @@ -5,7 +5,7 @@ otherTags= if test -z "$cmd"; then cmd=echo fi -for tag in $(git tag -l | grep -E '@[.0-9]+$'); do +for tag in $(git tag -l --contains HEAD | grep -E '@[0-9.]+(-[^.]*\.[0-9.]+)?$'); do case $tag in @agoric/sdk@*) sdkTags="$sdkTags $tag" ;; @agoric/cosmos@*)