Skip to content

Commit

Permalink
fix: release test 2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Markkop committed Apr 23, 2020
1 parent 44fd259 commit f02bd8f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
49 changes: 24 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,15 @@ jobs:
- os: linux
dist: trusty
services: docker
language: node_js
node_js: '10'
language: generic

- os: windows
language: node_js
node_js: '10'
env:
- YARN_GPG=no
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
# - os: windows
# language: node_js
# node_js: '10'
# env:
# - YARN_GPG=no
# - ELECTRON_CACHE=$HOME/.cache/electron
# - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder

cache:
yarn: true
Expand All @@ -35,24 +34,24 @@ script:
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
electronuserland/builder:wine \
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn release:linux"
/bin/bash -c "yarn --link-duplicates --pure-lockfile && yarn release"
else
yarn release:win
fi
branches:
except: /^untagged/
# branches:
# except: /^untagged/

deploy:
provider: releases
token: $GH_TOKEN
file_glob: true
file:
- 'dist/*.AppImage'
- 'dist/*.exe'
overwrite: true
skip_cleanup: true
draft: true
on:
branch: fix/release
tags: true
# deploy:
# provider: releases
# token: $GH_TOKEN
# file_glob: true
# file:
# - 'dist/*.AppImage'
# - 'dist/*.exe'
# overwrite: true
# skip_cleanup: true
# draft: true
# on:
# branch: fix/release
# tags: true
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yt-dlandcut",
"version": "2.0.4",
"version": "2.0.5",
"description": "Download and Cut an Youtube video by its starting and ending times",
"repository": "github:markkop/yt-dlandcut",
"main": "build/electron/main.js",
Expand All @@ -12,6 +12,7 @@
"dist:win": "electron-builder build --win portable ",
"dist": "electron-builder build --win portable --linux AppImage ",
"build": "babel src --out-dir build",
"release": "yarn build && electron-builder --linux --win -p onTagOrDraft",
"release:linux": "yarn build && electron-builder --linux",
"release:win": "yarn build && electron-builder --win portable"
},
Expand Down

0 comments on commit f02bd8f

Please sign in to comment.