Skip to content

Commit afc586a

Browse files
committed
Add error message in travis test
1 parent 81e25a0 commit afc586a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

travis/pg-travis-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ if [ $CHECK_TYPE = "valgrind" ]; then
2222
sudo apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y install -qq $apt_packages
2323
# grab sources from github
2424
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`
25+
[[ -z "$tag" ]] && { echo "could't get branch name for release" ; exit 1; }
2526
prefix="$HOME/pgsql-$tag"
2627
curl "https://codeload.github.com/postgres/postgres/tar.gz/$tag" -o ~/$tag.tar.gz
2728
# build them with valgrind support

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy