Fix gitignore, annotate

This commit is contained in:
ChrisAdderley 2019-02-19 16:34:38 -08:00
parent 42c97b1455
commit 7796b8934a
2 changed files with 9 additions and 6 deletions

3
.gitignore vendored
View File

@ -2,3 +2,6 @@ tmp/
deploy/ deploy/
build/ build/
build-deploy/ build-deploy/
.vs/
bin/
obj/

View File

@ -7,22 +7,22 @@ branches:
only: only:
- prod - prod
script: script:
- git clone https://github.com/post-kerbin-mining-corporation/build-deploy.git # clone this repo - git clone https://github.com/post-kerbin-mining-corporation/build-deploy.git # clone this repo, it contains the stuff that does the heavy lifting
- cd build-deploy - cd build-deploy
- git checkout master - git checkout master
- cd .. - cd ..
- python build-deploy/src/package.py ".\Distribution\Restock\.mod_data.yml" - python build-deploy/src/package.py --f "Distribution/Restock/.mod_data.yml" # Build RS package
- python build-deploy/src/package.py ".\Distribution\RestockPlus\.mod_data.yml" - python build-deploy/src/package.py --f "Distribution/RestockPlus/.mod_data.yml" # Build RS+ package
before_deploy: before_deploy:
- python build-deploy/src/stage.py # Run the staging script - python build-deploy/src/stage.py --f "Distribution/Restock/.mod_data.yml" # Run the staging script. Note that tags will come off restock base always
deploy: deploy:
- provider: script - provider: script
script: python build-deploy/src/deploy.py ".\Distribution\Restock\.mod_data.yml" script: python build-deploy/src/deploy.py --f "Distribution/Restock/.mod_data.yml" # Deploy RS package to spacedock, curse, github
skip_cleanup: true skip_cleanup: true
on: on:
condition: $TRAVIS_BRANCH = prod condition: $TRAVIS_BRANCH = prod
- provider: script - provider: script
script: python build-deploy/src/deploy.py ".\Distribution\Restock\.mod_data.yml" script: python build-deploy/src/deploy.py --f "Distribution/RestockPlus/.mod_data.yml" # Deploy RS+ package to spacedock, curse, github
skip_cleanup: true skip_cleanup: true
on: on:
condition: $TRAVIS_BRANCH = prod condition: $TRAVIS_BRANCH = prod