Skip to content

Commit

Permalink
please.sh publish: publish .pdb archives, too
Browse files Browse the repository at this point in the history
It really makes sense to do all of this as part of the automated release
engineering, to make everything as painless as possible.

Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Feb 7, 2018
1 parent 282bb5d commit afc314d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions please.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3507,6 +3507,9 @@ virus_check () { #
publish () { #
set_version_from_sdks_git

git_pkgver="$("$sdk64/git-cmd.exe" --command=usr\\bin\\sh.exe -l -c \
'pacman -Q mingw-w64-x86_64-git | sed "s/.* //"')"

needs_upload_permissions || exit

grep -q '<apikeys>' "$HOME"/AppData/Roaming/NuGet/NuGet.Config ||
Expand Down Expand Up @@ -3558,7 +3561,9 @@ publish () { #
MinGit-"$ver"-busybox-64-bit.zip \
MinGit-"$ver"-busybox-32-bit.zip \
Git-"$ver"-64-bit.tar.bz2 \
Git-"$ver"-32-bit.tar.bz2) |
Git-"$ver"-32-bit.tar.bz2 \
pdbs-for-git-32-bit-$git_pkgver.zip \
pdbs-for-git-64-bit-$git_pkgver.zip) |
sed -n 's/\([^ ]*\) \*\(.*\)/\2 | \1/p')"
body="$(printf "%s\n\n%s" "$text" "$checksums")"
quoted="$(echo "$body" |
Expand All @@ -3575,7 +3580,9 @@ publish () { #
"$HOME"/MinGit-"$ver"-busybox-64-bit.zip \
"$HOME"/MinGit-"$ver"-busybox-32-bit.zip \
"$HOME"/Git-"$ver"-64-bit.tar.bz2 \
"$HOME"/Git-"$ver"-32-bit.tar.bz2 ||
"$HOME"/Git-"$ver"-32-bit.tar.bz2 \
"$HOME"/pdbs-for-git-32-bit-$git_pkgver.zip \
"$HOME"/pdbs-for-git-64-bit-$git_pkgver.zip ||
die "Could not upload files\n"

for nupkg in GitForWindows Git-Windows-Minimal
Expand Down

0 comments on commit afc314d

Please sign in to comment.