Skip to content

Commit 872b5cd

Browse files
Fix s3 sync for windows, add build for master branch
1 parent 86558c2 commit 872b5cd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ jobs:
126126
- tools/build-windows.bat "$TRAVIS_COMMIT"-debug-continuous-"$TRAVIS_BUILD_NUMBER"
127127
- cp $TRAVIS_BUILD_DIR/../release64/fritzing-$TRAVIS_COMMIT-debug-continuous-$TRAVIS_BUILD_NUMBER.64.pc.zip ~/$TRAVIS_BUILD_NUMBER
128128

129+
after_success:
130+
- ./tools/aws_tasks.sh synchronize_up
131+
129132
- stage: deploy_to_github
130133
before_install:
131134
- mkdir -p "$HOME/$TRAVIS_BUILD_NUMBER"

tools/aws_tasks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ aws_secret_access_key = ${AWS_SECRET_ACCESS_KEY}
5858
EOL
5959
}
6060

61-
if [[ ( "$TRAVIS_PULL_REQUEST" == false ) && ( "$TRAVIS_BRANCH" == "develop" ) && ( "$TRAVIS_REPO_SLUG" == "fritzing/fritzing-app" )]]; then
61+
if [[ ( "$TRAVIS_PULL_REQUEST" == false ) && ( "$TRAVIS_BRANCH" == "develop" || "$TRAVIS_BRANCH" == "master" ) && ( "$TRAVIS_REPO_SLUG" == "fritzing/fritzing-app" )]]; then
6262
x_aws_env
6363

6464
echo "Running deploy task '$1' on $TRAVIS_OS_NAME ( $OSTYPE )"

0 commit comments

Comments
 (0)