We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4b1d1f commit 7860b74Copy full SHA for 7860b74
.travis.yml
@@ -81,13 +81,13 @@ jobs:
81
on:
82
tags: true
83
- stage: deploy-github
84
- script: true
+ script: MCB_VERSION=$(cat $TRAVIS_BUILD_DIR/VERSION)
85
deploy:
86
provider: releases
87
skip_cleanup: true
88
api_key: $GITHUB_OAUTH_TOKEN
89
file:
90
- - $TRAVIS_BUILD_DIR/build/rpm/RPMS/x86_64/mongodb_consistent_backup-$TRAVIS_TAG-1.el7.centos.x86_64.rpm"
+ - $TRAVIS_BUILD_DIR/build/rpm/RPMS/x86_64/mongodb_consistent_backup-$MCB_VERSION-1.el7.centos.x86_64.rpm"
91
- $TRAVIS_BUILD_DIR/bin/mongodb-consistent-backup.el7.centos.x86_64
92
- $TRAVIS_BUILD_DIR/bin/mongodb-consistent-backup.debian8.x86_64
93
- $TRAVIS_BUILD_DIR/bin/mongodb-consistent-backup.debian9.x86_64
0 commit comments