[ci skip] Merge in artifact creation with drafting the release within the same job, so that they share the same context, otherwise folder is not visible, obviously
Pavlos Emm. Katsoulakis committed
Apr 18, 2019 at 08:59 UTC
c38c155f1a6a780b64ad562874b30711da20bb9c
1 file changed
+1
-9
.travis.yml
+1
-9
@@ -164,15 +164,6 @@ jobs:
164
# We don't run on release candidates
165
if: tag !~ /(-rc)/
166
167
- - name: Generate release artifacts
168
- before_script: post_message "TRAVIS_MESSAGE" "Starting artifacts generation for release"
169
- script: .travis/create_artifacts.sh
170
- after_failure: post_message "TRAVIS_MESSAGE" "<!here> Release artifacts generation failed"
171
- git:
172
- depth: false
173
- # We don't run on release candidates
174
- if: tag !~ /(-rc)/
175
-
167
- name: Create release draft
168
before_script: post_message "TRAVIS_MESSAGE" "Drafting release on github"
169
script:
@@ -180,6 +171,7 @@ jobs:
171
- echo "Last commit:" && git log -1
172
- echo "GIT Describe:" && git describe
173
- echo "packaging/version:" && cat packaging/version
174
+ - echo "Generating release artifacts" && .travis/create_artifacts.sh # Could/should be a common storage to put this and share between jobs
175
- .travis/draft_release.sh
176
git:
177
depth: false