mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Deploy metadata validator on tagged builds.
Travis will deploy the metadata validator to a GitHub release for any tagged build that passes the tests. If a release does not already exist, it will be created, otherwise the file will be added to the existing release. The masterlist repositories can then use the deployed binary instead of having to build the binary from source themselves on every Travis build. The api_key entry was generated by the Travis CLI tool using my GitHub account details.
This commit is contained in:
+15
@@ -47,6 +47,21 @@ before_script:
|
||||
|
||||
script: make tests && ./tests
|
||||
|
||||
before_deploy:
|
||||
# Build the metadata editor
|
||||
- make metadata-validator
|
||||
- tar -pczf metadata-validator.tar.gz metadata-validator
|
||||
|
||||
deploy:
|
||||
provider: releases
|
||||
api_key:
|
||||
secure: NXzSdk+TrMSRRaCf0hpCv0LS5Ow+LJTsI5pymUThljk2w7QEQMws3lET82W4fnVLYTB3hde94g2tT2oclzQzdbg6l9E6uNwv6mznu8ovTzvOLwnOAvWXtA7aB6ovxu1WrkCkKfcBB0sk8Ezt7UejQu5o0G09z699coWeuUxLFJk=
|
||||
file: metadata-validator.tar.gz
|
||||
skip_cleanup: true
|
||||
on:
|
||||
repo: loot/loot
|
||||
tags: true
|
||||
|
||||
notifications:
|
||||
irc:
|
||||
channels:
|
||||
|
||||
Reference in New Issue
Block a user