mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:43:47 +03:00
maketgz: fix RELEASE-TOOLS.md for daily tarballs
The daily snapshots have no associated git tag, so provide a commit hash instead in these cases. Fix the dpkg detection since the shell would exit immediately without showing an error message if it weren't found. Closes #14820
This commit is contained in:
parent
f6955e4215
commit
c72dd0bb14
2 changed files with 12 additions and 8 deletions
|
|
@ -156,14 +156,14 @@ else
|
|||
automake --include-deps Makefile >/dev/null
|
||||
fi
|
||||
|
||||
echo "produce RELEASE-TOOLS.md"
|
||||
./scripts/release-tools.sh "$timestamp" "$version" > docs/RELEASE-TOOLS.md.dist
|
||||
|
||||
if test -n "$commit"; then
|
||||
echo "produce docs/tarball-commit.txt"
|
||||
git rev-parse HEAD >docs/tarball-commit.txt.dist
|
||||
fi
|
||||
|
||||
echo "produce RELEASE-TOOLS.md"
|
||||
./scripts/release-tools.sh "$timestamp" "$version" "$commit" > docs/RELEASE-TOOLS.md.dist
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Now run make dist to generate a tar.gz archive
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue