Skip to content

Commit d98d4f9

Browse files
committed
fixup! open-pr: support msys2-runtime PRs
1 parent 8e988b1 commit d98d4f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update-scripts/version/msys2-runtime

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ esac
3737
# `updpkgsums` requires the bare clone `msys2-runtime` to exist
3838
git init --bare msys2-runtime &&
3939
git --git-dir=msys2-runtime config remote.origin.url https://github.com/cygwin/cygwin &&
40+
git --git-dir=msys2-runtime fetch --tags https://github.com/cygwin/cygwin &&
4041

41-
git init --bare src/msys2-runtime &&
42+
git clone --bare msys2-runtime src/msys2-runtime &&
4243
git --git-dir=src/msys2-runtime config remote.origin.url https://github.com/git-for-windows/msys2-runtime &&
4344
# pretend to be a partial clone
4445
git --git-dir=src/msys2-runtime config remote.origin.promisor true &&
@@ -53,7 +54,6 @@ previous_commit="$(cat msys2-runtime.commit)" && {
5354

5455
# update pkgver if needed
5556
update_pkgver= &&
56-
git --git-dir=src/msys2-runtime fetch --tags https://github.com/cygwin/cygwin &&
5757
pkgver=$(git --git-dir=src/msys2-runtime describe --match='cygwin-[0-9]*' "$revision") &&
5858
pkgver=${pkgver#cygwin-} &&
5959
pkgver=${pkgver%%-*} &&

0 commit comments

Comments
 (0)