From 726afc28d884ef640f8f33759f91fada2b7f8a5b Mon Sep 17 00:00:00 2001 From: Stewart X Addison <6487691+sxa@users.noreply.github.com> Date: Sat, 11 Jan 2025 22:29:58 +0000 Subject: [PATCH] RELEASING.md: Add not on how to remove an incorrect tag (#4114) * RELEASING.md: Add not on how to remove an incorrect tag Signed-off-by: Stewart X Addison * Add blank line to placate linter Signed-off-by: Stewart X Addison --------- Signed-off-by: Stewart X Addison --- RELEASING.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/RELEASING.md b/RELEASING.md index c17e36ea6..c865a1927 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -223,6 +223,13 @@ 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