From 712f00eded3beede0d66ee340d994490856a13a7 Mon Sep 17 00:00:00 2001 From: Pauli Jokela Date: Mon, 14 Aug 2017 13:04:18 +0300 Subject: [PATCH] Fixing versioning and deployment issues --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f2451e1..414d902 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,9 +52,9 @@ jobs: - stage: Deploy to GitHub script: - - dotnet restore /p:PackageVersion=$TRAVIS_TAG - - dotnet build -c $BUILD_CONFIG /p:PackageVersion=$TRAVIS_TAG - - dotnet pack -c $BUILD_CONFIG --no-build /p:PackageVersion=$TRAVIS_TAG + - dotnet restore /p:PackageVersion=${TRAVIS_TAG#v} + - dotnet build -c $BUILD_CONFIG /p:PackageVersion=${TRAVIS_TAG#v} + - dotnet pack -c $BUILD_CONFIG --no-build /p:PackageVersion=${TRAVIS_TAG#v} deploy: provider: releases api_key: $GITHUB_OAUTH_TOKEN