Skip to content

Commit cf4be88

Browse files
committed
tag-git: allow upstream merges
It is true that regular Git for Windows releases always rebase to the corresponding upstream version. However, embargoed MinGit releases _merge_ the upstream versions instead, for simplicity. And the plan is to do the same for embargoed Git for Windows releases, too, as that will make future rebases much easier: if embargoed upstream versions are merged into embargoed Git for Windows releases, those latter can easily be merged into Git for Windows' `main` branch without duplicating patches in `main^{/Start.the.merging-rebase}..main`. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 292a10f commit cf4be88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-scripts/tag-git.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ else
4343
die "Need 'w3m' to render release notes"
4444
fi
4545

46-
desc="$(git --git-dir "$git_git_dir" describe --match 'v[0-9]*[0-9]' --exclude='*-[0-9]*' --first-parent "$git_rev")" &&
46+
desc="$(git --git-dir "$git_git_dir" describe --match 'v[0-9]*[0-9]' --exclude='*-[0-9]*' --exclude='*.windows.*' "$git_rev")" &&
4747
base_tag=${desc%%-[1-9]*} &&
4848
case "$base_tag" in
4949
"$desc") die "Revision '$git_rev' already tagged as $base_tag";;

0 commit comments

Comments
 (0)