Publish LOOT API Linux release binaries

So that the reimplemented metadata validator can use them.
This commit is contained in:
Oliver Hamlet
2017-02-05 18:18:23 +00:00
parent c5ca5b2619
commit 8a9470a9bc
2 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -81,8 +81,9 @@ after_success:
- node scripts/archive.js
# Need to replace the HEAD branch descriptor in the archive filenames
- for ARCHIVE in build/*.tar.xz; do mv $ARCHIVE $(echo $ARCHIVE | sed "s/HEAD/$TRAVIS_BRANCH/"); done
# Make a copy of the metadata validator archive for GitHub deployment to find.
# Make copies of the archives for GitHub deployment to find.
- cp $(ls build/metadata-validator_*.tar.xz) build/metadata-validator.tar.xz
- cp $(ls build/loot-api_*.tar.xz) build/loot-api.tar.xz
# Need to replace the Bintray config files' version placeholders.
- VERSION=$(ls build/loot_*.tar.xz | sed 's/build\/loot_//;s/.tar.xz//;')
- sed -i "s/REPLACE_THIS_VERSION/$VERSION/" scripts/travis/loot.bintray.json
@@ -117,7 +118,9 @@ deploy:
- provider: releases
api_key:
secure: "TuiXR/J5cdvgAXqU5x79E7thXwzN4Jqo1vKolPPb5ahrBllBHFh23awyOIdlTnXY1aS6NjS85uIiD3TNZ/hwrtDsjMgNs1ofL6A9B+7uQJjpK8JqFUECrJCMsEhnwRSzIUeqDeZp440x3c0bTFqfSMErrG/ga5S+VyNYHYREqo4="
file: build/metadata-validator.tar.xz
file:
- build/metadata-validator.tar.xz
- build/loot-api.tar.xz
skip_cleanup: true
on:
repo: loot/loot
+2 -2
View File
@@ -134,7 +134,7 @@ deploy:
- [API](https://loot.readthedocs.io/en/$(APPVEYOR_REPO_TAG_NAME)/api/changelog.html)
- [Metadata Syntax](https://loot.readthedocs.io/en/$(APPVEYOR_REPO_TAG_NAME)/metadata/changelog.html)
*Note: The `metadata-validator.tar.xz` file below contains a Linux binary. It won't work on Windows computers.*
*Note: The files below with `tar.xz` extensions contain Linux binaries. They won't work on Windows computers.*
auth_token:
secure: V1GojGQfrAiQtUWtNNXfm3samiH+1yNF5UYhkn8B8mbif20IGTGWNlBS9E4S0SUC
artifact: API
@@ -154,7 +154,7 @@ deploy:
- [API](https://loot.readthedocs.io/en/$(APPVEYOR_REPO_TAG_NAME)/api/changelog.html)
- [Metadata Syntax](https://loot.readthedocs.io/en/$(APPVEYOR_REPO_TAG_NAME)/metadata/changelog.html)
*Note: The `metadata-validator.tar.xz` file below contains a Linux binary. It won't work on Windows computers.*
*Note: The files below with `tar.xz` extensions contain Linux binaries. They won't work on Windows computers.*
auth_token:
secure: V1GojGQfrAiQtUWtNNXfm3samiH+1yNF5UYhkn8B8mbif20IGTGWNlBS9E4S0SUC
artifact: LOOT,API,metadata-validator,installer