We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent81e25a0 commitcde2aa2Copy full SHA for cde2aa2
travis/pg-travis-test.sh
@@ -21,7 +21,9 @@ if [ $CHECK_TYPE = "valgrind" ]; then
21
apt_packages="build-essential libgd-dev valgrind lcov"
22
sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y install -qq$apt_packages
23
# grab sources from github
24
-tag=`curl -s'https://api.github.com/repos/postgres/postgres/git/refs/tags'| jq -r'.[] | .ref'| sed's/^refs\/tags\///'| grep"REL_*${PG_VER/./_}_"| tail -n 1`
+echo`curl -s -I'https://api.github.com/repos/postgres/postgres/git/refs/tags'`
25
+tag=`curl -s'https://api.github.com/repos/postgres/postgres/git/refs/tags'| jq -r'.[].ref'| sed's/^refs\/tags\///'| grep"REL_*${PG_VER/./_}_"| tail -n 1`
26
+[[-z"$tag" ]]&& {echo"could not get branch name for release";exit 1; }
27
prefix="$HOME/pgsql-$tag"
28
curl"https://codeload.github.com/postgres/postgres/tar.gz/$tag" -o~/$tag.tar.gz
29
# build them with valgrind support