Skip to content

Commit

Permalink
missing CI updates after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Nov 19, 2016
1 parent ac777ba commit 02a7dba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,11 @@ before_deploy:
- ls dist
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then mv dist/mac/*.dmg dist/mac/safe-browser-${TRAVIS_TAG}-osx-x64.dmg; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export RELEASE_PKG=$(ls dist/mac/*.dmg); fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then rename -v "s/safe-browser-\d\.\d\.\d/safe-browser-${TRAVIS_TAG}-linux-x64/" dist/safe*; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mv dist/linux-unpacked dist/safe-browser-${TRAVIS_TAG}-linux-x64; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then zip -r dist/safe-browser-${TRAVIS_TAG}-linux-x64.zip dist/safe-browser-${TRAVIS_TAG}-linux-x64; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then rm -rf dist/safe-browser-${TRAVIS_TAG}-linux-x64; fi # remove folder to not try and deploy it
- ls
- ls dist
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export RELEASE_PKG="dist/safe*"; fi
- echo "deploying ${RELEASE_PKG} to GitHub releases"
deploy:
Expand Down
14 changes: 9 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ install:
- npm --version
- npm install npm@next -g
- npm install
- npm run rebuild:only
# - npm run rebuild:only
- npm run build


Expand All @@ -34,17 +34,21 @@ build_script:
after_build:
- ps: Get-ChildItem .\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- dir dist
- rename dist/win-unpacked dist/safe-browser-$(appveyor_repo_tag_name)-win
- 7z a dist/safe-browser-$(appveyor_repo_tag_name)-win
- dir dist
- echo dist\safe-browser-%APPVEYOR_REPO_TAG_NAME%-win
- cd dist
- dir
- rename win-unpacked safe-browser-%APPVEYOR_REPO_TAG_NAME%-win
- 7z a safe-browser-%APPVEYOR_REPO_TAG_NAME%-win.zip
- dir
- echo %APPVEYOR_REPO_TAG%
- echo %APPVEYOR_REPO_TAG_NAME%

artifacts:
- path: dist/*-win.zip

before_deploy:
- dir dist
# - dir dist

deploy:
release: $(appveyor_repo_tag_name)
tag: $(appveyor_repo_tag_name)
Expand Down

0 comments on commit 02a7dba

Please sign in to comment.