copy artifacts to 'upload/' (#5036)
Paweł Krupa committed
Dec 19, 2018 at 11:18 UTC
f4fbf2136326aa9469b327e9f0a3d0702da731cb
3 files changed
+7
-2
.gitignore
+1
@@ -38,6 +38,7 @@ sha256sums.txt
38
# netdata binaries
39
netdata
40
!netdata/
41
+upload/
42
43
apps.plugin
44
!apps.plugin/
.travis.yml
+1
-2
@@ -75,8 +75,7 @@ jobs:
75
credentials: .travis/gcs-credentials.json
76
bucket: "netdata-nightlies"
77
skip_cleanup: true
78
- file_glob: true
79
- file: "netdata*.tar.gz"
78
+ local_dir: "upload"
79
- name: changelog generation
80
script: ".travis/generate_changelog.sh"
81
env: COMMIT_AND_PUSH=1
.travis/create_artifacts.sh
+5
@@ -16,6 +16,11 @@ make dist
16
echo "--- Create self-extractor ---"
17
./makeself/build-x86_64-static.sh
18
19
+# Needed fo GCS
20
+echo "--- Copy artifacts to bin ---"
21
+mkdir upload
22
+cp ./*.tar.gz ./*.gz.run upload/
23
+
24
echo "--- Create checksums ---"
25
GIT_TAG=$(git tag --points-at)
26
if [ "${GIT_TAG}" != "" ]; then