Skip to content

Commit

Permalink
Merge pull request #8 from square/ssung/fix_build_script
Browse files Browse the repository at this point in the history
Fix build and publish script
  • Loading branch information
shaofu88 committed Jan 23, 2020
2 parents 61ff733 + cf21dce commit be322eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_and_publish.sh
Expand Up @@ -26,7 +26,7 @@ dotnet pack Square/Square.csproj -o bin
if [ "${TRAVIS_PULL_REQUEST_BRANCH}" = "" -a "${TRAVIS_BRANCH}" = "master" ];
then
echo -e "\033[1;32mPublishing version ${packageVersion} to Nuget..."
dotnet nuget push bin/*.nupkg -k $NUGET_APIKEY -s https://api.nuget.org/v3/index.json
dotnet nuget push Square/bin/*.nupkg -k $NUGET_APIKEY -s https://api.nuget.org/v3/index.json
else
echo -e "\033[1;32mNot uploading pending changes until it's merged into master."
fi

0 comments on commit be322eb

Please sign in to comment.