Skip to content

Commit

Permalink
Release v0.8.1 (#308)
Browse files Browse the repository at this point in the history
Release v0.8.1
  • Loading branch information
ErikBjare authored Nov 12, 2019
2 parents 4cccfa5 + d054564 commit 2be6697
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ deploy:
provider: GitHub
auth_token:
secure: fI8Ar/HiYNXcmeXQct/yzkKeEF4MHdYgP5/XL7uHKNs4lhPyUmT6GSltcLwkqk45
artifact: /.*\.zip/
artifact: /.*\.(zip|exe)/
draft: true
prerelease: true
on:
Expand Down
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ language: python
python: 3.6

env:
- TRAVIS_NODE_VERSION=8
- TRAVIS_NODE_VERSION=12

services:
- mongodb
Expand All @@ -15,20 +15,20 @@ matrix:
python: 3.6
env:
- DEPLOY=true
- TRAVIS_NODE_VERSION=8
- TRAVIS_NODE_VERSION=12
- os: osx
osx_image: xcode10.1
language: generic
python: null
env:
- DEPLOY=true
- TRAVIS_NODE_VERSION=8
- TRAVIS_NODE_VERSION=12
- os: windows
language: sh
python: 3.6.8
env:
- DEPLOY=false # set to true when tested and AppVeyor is deprecated
- TRAVIS_NODE_VERSION=8
- TRAVIS_NODE_VERSION=12
- TRAVIS_PYTHON_VERSION=3.6.8

before_install:
Expand Down
2 changes: 1 addition & 1 deletion aw-server
12 changes: 8 additions & 4 deletions scripts/package/package-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

set -e

echoerr() { echo "$@" 1>&2; }

function get_platform() {
# Will return "linux" for GNU/Linux
# I'd just like to interject for a moment...
Expand All @@ -16,8 +18,11 @@ function get_platform() {
_platform="windows";
elif [[ $_platform == "mingw"* ]]; then
_platform="windows";
elif [[ $_platform == "cygwin"* ]]; then
echo "ERROR: cygwin is not a valid platform";
elif [[ $_platform == "linux" ]]; then
# Nothing to do
true;
else
echoerr "ERROR: $_platform is not a valid platform";
exit 1;
fi

Expand Down Expand Up @@ -62,7 +67,7 @@ function build_zip() {
}

function build_setup() {
filename="activitywatch-setup-${version}-${platform}-${arch}.exe"
filename="activitywatch-${version}-${platform}-${arch}-setup.exe"
echo "Name of package will be: $filename"

choco install -y innosetup
Expand All @@ -72,7 +77,6 @@ function build_setup() {
echo "Setup built!"
}


build_zip
if [[ $platform == "windows"* ]]; then
build_setup
Expand Down

0 comments on commit 2be6697

Please sign in to comment.