File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,18 +23,18 @@ script:
2323 - dotnet test --configuration release --no-restore --verbosity minimal
2424
2525before_deploy :
26- - dotnet pack --configuration release --verbosity minimal -p:PackageVersion=$ TRAVIS_TAG -p:RepositoryBranch=$TRAVIS_BUILD_NUMBER -p:RepositoryCommit=$TRAVIS_COMMIT -p:PackageOutputPath=.
26+ - dotnet pack --configuration release --verbosity minimal -p:PackageVersion="${ TRAVIS_TAG}.${$TRAVIS_BUILD_NUMBER}" -p:RepositoryBranch=$TRAVIS_BRANCH -p:RepositoryCommit=$TRAVIS_COMMIT -p:PackageOutputPath=.
2727
2828deploy :
2929 provider : releases
3030 api_key : $GH_TOKEN
3131 file_glob : true
32- file : " bin/Release/UnityContainerAttributeRegistration.1.0.0 .nupkg"
32+ file : " bin/Release/UnityContainerAttributeRegistration.${$TRAVIS_TAG} .nupkg"
3333 skip_cleanup : true
3434 overwrite : true
3535 on :
3636 tags : true
3737
3838after_deploy :
3939 - dotnet nuget add source https://nuget.pkg.github.com/ManticSic/index.json -n github -u ManticSic -p $GH_TOKEN
40- - dotnet nuget push "bin/Release/UnityContainerAttributeRegistration.1.0.0 .nupkg" --source "github"
40+ - dotnet nuget push "bin/Release/UnityContainerAttributeRegistration.${TRAVIS_TAG} .nupkg" --source "github"
You can’t perform that action at this time.
0 commit comments