-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #64 from ChrisAdderley/dev
Release 1.1.0
- Loading branch information
Showing
20 changed files
with
823 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build_scripts/* linguist-vendored |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
*.pyc | ||
.idea/ | ||
build/ | ||
tmp/ | ||
deploy/ | ||
build_scripts/version.txt | ||
build_scripts/changelog.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
language: python | ||
python: | ||
- 3.6 | ||
install: | ||
- pip install awscli boto3 requests | ||
branches: | ||
only: | ||
- master | ||
script: | ||
- python build_scripts/build.py | ||
before_deploy: | ||
- VERSION=$(cat build_scripts/version.txt) | ||
- CHANGELOG=$(cat build_scripts/changelog.md) | ||
- IFS='/'; BASENAME=($TRAVIS_REPO_SLUG); unset IFS; | ||
- RELEASE_NAME="${BASENAME[1]} $VERSION" | ||
- echo $VERSION | ||
- git config --local user.name "ChrisAdderley" | ||
- git config --local user.email "cadderley@gmail.com" | ||
- git remote set-url origin https://ChrisAdderley:${GITHUB_OAUTH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git | ||
# Only tag if this is the first before_deploy (runs for all providers) | ||
- > | ||
if ! [ "$BEFORE_DEPLOY_RUN" ]; then | ||
export BEFORE_DEPLOY_RUN=1; | ||
git tag $VERSION; | ||
git push origin $VERSION; | ||
fi | ||
deploy: | ||
- provider: s3 | ||
access_key_id: $AWS_ACCESS_KEY_ID | ||
secret_access_key: $AWS_SECRET_ACCESS_KEY | ||
bucket: "nertea-ksp-modding-releases" | ||
local_dir: deploy | ||
skip_cleanup: true | ||
acl: public_read | ||
region: us-east-2 | ||
upload-dir: cryo-tanks | ||
on: | ||
condition: $TRAVIS_BRANCH = master | ||
- deploy: | ||
provider: releases | ||
api_key: $GITHUB_OAUTH_TOKEN | ||
file_glob: true | ||
file: deploy/* | ||
# Newline handling is currently broken so changelog must be added manually... | ||
# body: "$CHANGELOG" | ||
name: $RELEASE_NAME | ||
skip_cleanup: true | ||
on: | ||
tags: false | ||
condition: $TRAVIS_BRANCH = master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 28 additions & 10 deletions
38
GameData/CryoTanks/Patches/CryoTanksProceduralFuelTanks.cfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
{ | ||
"NAME":"CryoTanks", | ||
"URL":"https://raw.githubusercontent.com/ChrisAdderley/CryoTanks/master/GameData/CryoTanks/Versioning/CryoTanks.version", | ||
"DOWNLOAD":"http://forum.kerbalspaceprogram.com/index.php?/topic/155465-122-near-future-technologies", | ||
"DOWNLOAD":"https://github.com/ChrisAdderley/CryoTanks/releases", | ||
"VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":0, | ||
"PATCH":3, | ||
"MINOR":1, | ||
"PATCH":0, | ||
"BUILD":0 | ||
}, | ||
"KSP_VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":5, | ||
"PATCH":0 | ||
"MINOR":6, | ||
"PATCH":1 | ||
}, | ||
"KSP_VERSION_MIN":{ | ||
"MAJOR":1, | ||
"MINOR":5, | ||
"PATCH":0 | ||
"MINOR":6, | ||
"PATCH":1 | ||
}, | ||
"KSP_VERSION_MAX":{ | ||
"MAJOR":1, | ||
"MINOR":5, | ||
"MINOR":6, | ||
"PATCH":99 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.