From e0aca973f2be754cc82669970a68aec92ff87efe Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Fri, 10 Jan 2025 10:55:06 +0000 Subject: [PATCH 1/2] RELEASING.md: Add not on how to remove an incorrect tag Signed-off-by: Stewart X Addison --- RELEASING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/RELEASING.md b/RELEASING.md index c17e36ea6..28777a646 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -223,6 +223,12 @@ git tag -a "jdk-17.0.12-dryrun-ga" jdk-17.0.12+7^{} -m"YYYY.MM release dry run t git push --tags origin master ``` +Note: If you make a mistake with a tag you have already pushed you can undo it with: +```bash +git tag --delete jdk-1.2.3-wrongname +git git push origin :jdk-1.2.3-wrongname +``` + **For the new release versions in the OpenJDK HEAD repository adoptium/jdk:** ```bash From 0ee4ca5e17330e7af630b0926203f8b2fa299578 Mon Sep 17 00:00:00 2001 From: Stewart X Addison Date: Fri, 10 Jan 2025 11:53:46 +0000 Subject: [PATCH 2/2] Add blank line to placate linter Signed-off-by: Stewart X Addison --- RELEASING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/RELEASING.md b/RELEASING.md index 28777a646..c865a1927 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -224,6 +224,7 @@ git push --tags origin master ``` Note: If you make a mistake with a tag you have already pushed you can undo it with: + ```bash git tag --delete jdk-1.2.3-wrongname git git push origin :jdk-1.2.3-wrongname