Skip to content

Commit

Permalink
Try to fix .deb deployment
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Aug 9, 2018
1 parent bd3763b commit 455b7c0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Expand Up @@ -14,11 +14,8 @@ branches:

cache: cargo

before_install:
- export BUILD_VERSION=$(echo "${TRAVIS_BRANCH//v/}")
- echo "Building $BUILD_VERSION"

before_deploy:
before_deploy:
- export BUILD_VERSION=$(echo "${TRAVIS_BRANCH//v/}")
- cargo install -f cargo-deb
- cargo build --release
- cargo deb
Expand All @@ -27,8 +24,8 @@ deploy:
provider: releases
api_key: $GITHUB_TOKEN
file:
- target/debian/krankerl_${BUILD_VERSION}_amd64.deb
- target/release/krankerl
- target/debian/krankerl_$BUILD_VERSION_amd64.deb
skip_cleanup: true
on:
tags: true
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "krankerl"
version = "0.9.2"
version = "0.9.3"
authors = ["Christoph Wurst <christoph@winzerhof-wurst.at>"]
description = "A CLI helper to manage Nextcloud apps"
license-file = "LICENSE"
Expand Down

0 comments on commit 455b7c0

Please sign in to comment.