Skip to content

Commit

Permalink
Merge pull request #11 from Didstopia/development
Browse files Browse the repository at this point in the history
Fixing versioning and deployment issues
  • Loading branch information
Dids authored Aug 14, 2017
2 parents 6bd5d89 + 5998031 commit 2a8c7eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ if [[ "$BUILD_CONFIG" == "Release" ]]; then
dotnet build -c ${BUILD_CONFIG} /p:VersionSuffix=$VERSION_SUFFIX
dotnet pack -c ${BUILD_CONFIG} --no-build --version-suffix $VERSION_SUFFIX
else
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}
fi

dotnet nuget push Didstopia.PDFSharp/bin/$BUILD_CONFIG/*.nupkg --api-key $NUGET_API_KEY --source $NUGET_SOURCE_URL || true
Expand Down

0 comments on commit 2a8c7eb

Please sign in to comment.