diff options
author | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-04-18 10:40:23 +0300 |
---|---|---|
committer | Pavlos Emm. Katsoulakis <paul@netdata.rocks> | 2019-04-18 10:40:23 +0300 |
commit | e31324e17fcff7dc8910ee22e972d467a4ae0192 (patch) | |
tree | b3dbc7596df97d64730e84427174a49f5d229d94 /.travis | |
parent | 96837017e9535ebc114fbefa2b3f0fc11788bfb0 (diff) |
[ci skip] be sure to pull before going further
Diffstat (limited to '.travis')
-rwxr-xr-x | .travis/create_artifacts.sh | 3 | ||||
-rwxr-xr-x | .travis/draft_release.sh | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.travis/create_artifacts.sh b/.travis/create_artifacts.sh index d851390285..5a7618c246 100755 --- a/.travis/create_artifacts.sh +++ b/.travis/create_artifacts.sh @@ -13,6 +13,9 @@ if [ ! "${TRAVIS_REPO_SLUG}" == "netdata/netdata" ]; then exit 0 fi; +echo "Pulling latest code" +git pull + # Everything from this directory will be uploaded to GCS mkdir -p artifacts BASENAME="netdata-$(git describe)" diff --git a/.travis/draft_release.sh b/.travis/draft_release.sh index 5631997128..9f16819d55 100755 --- a/.travis/draft_release.sh +++ b/.travis/draft_release.sh @@ -22,6 +22,9 @@ if [ ! -f .gitignore ]; then exit 1 fi +echo "Pulling latest code" +git pull + if [[ $(git describe) =~ -rc* ]]; then echo "This is a release candidate tag, we do not generate a release draft" exit 0 |