Skip to content

Commit 97fbedd

Browse files
committed
Update Travis CI
1 parent ce07510 commit 97fbedd

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,20 @@ script:
2828

2929
before_deploy:
3030
- echo $(pwd)
31-
- dotnet pack --configuration release --verbosity minimal -p:PackageVersion=$TRAVIS_TAG -p:RepositoryBranch=$TRAVIS_BRANCH -p:RepositoryCommit=$TRAVIS_COMMIT -p:PackageOutputPath=.
31+
- echo "UnityContainerAttributeRegistration.${TRAVIS_TAG}.nupkg"
32+
- ls -la
33+
- dotnet pack --configuration release --verbosity minimal -p:PackageVersion=$TRAVIS_TAG -p:RepositoryBranch=$TRAVIS_BRANCH -p:RepositoryCommit=$TRAVIS_COMMIT -p:PackageOutputPath=../..
3234

3335
deploy:
3436
provider: releases
3537
api_key: "$GH_TOKEN"
3638
file_glob: true
37-
file: UnityContainerAttributeRegistration.${TRAVIS_TAG}.nupkg
39+
file: "UnityContainerAttributeRegistration.${TRAVIS_TAG}.nupkg"
3840
skip_cleanup: true
3941
overwrite: true
4042
on:
4143
tags: true
4244

43-
after_deploy:
44-
- dotnet nuget add source https://nuget.pkg.github.com/ManticSic/index.json -n github -u ManticSic -p $GH_TOKEN
45-
- dotnet nuget push "UnityContainerAttributeRegistration.${TRAVIS_TAG}.nupkg" --source "github"
45+
#after_deploy:
46+
# - dotnet nuget add source https://nuget.pkg.github.com/ManticSic/index.json -n github -u ManticSic -p $GH_TOKEN
47+
# - dotnet nuget push "UnityContainerAttributeRegistration.${TRAVIS_TAG}.nupkg" --source "github"

0 commit comments

Comments
 (0)