From 3d250636bf98aa647eaf4cad07149d7a66466164 Mon Sep 17 00:00:00 2001 From: Roy Sanchez Date: Thu, 29 Nov 2018 14:37:47 -0400 Subject: [PATCH] Updated the realease to 0.6-beta and fixes the deploy configuration --- .gitignore | 6 +++++- .travis.yml | 6 +++--- ServForOracle.NetCore/ServForOracle.NetCore.csproj | 2 +- nuget-deploy.sh | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 3c4efe2..6ebf77e 100644 --- a/.gitignore +++ b/.gitignore @@ -258,4 +258,8 @@ paket-files/ # Python Tools for Visual Studio (PTVS) __pycache__/ -*.pyc \ No newline at end of file +*.pyc + +# Travis-CI +.tools/ +.sonarqube/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index f8ba8d2..f4e8955 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,12 +7,12 @@ addons: sonarcloud: organization: "roysanchez-github" install: - - dotnet tool install dotnet-sonarscanner --version 4.4.2 --tool-path tools + - dotnet tool install dotnet-sonarscanner --version 4.4.2 --tool-path .tools - dotnet restore script: - - $TRAVIS_BUILD_DIR/tools/dotnet-sonarscanner begin /k:"roysanchez_ServForOracle.NetCore" /n:"ServForOracle.NetCore" /d:sonar.login="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" + - $TRAVIS_BUILD_DIR/.tools/dotnet-sonarscanner begin /k:"roysanchez_ServForOracle.NetCore" /n:"ServForOracle.NetCore" /d:sonar.login="$SONAR_TOKEN" /d:sonar.host.url="https://sonarcloud.io" - dotnet build - - $TRAVIS_BUILD_DIR/tools/dotnet-sonarscanner end /d:sonar.login="$SONAR_TOKEN" + - $TRAVIS_BUILD_DIR/.tools/dotnet-sonarscanner end /d:sonar.login="$SONAR_TOKEN" notifications: email: false deploy: diff --git a/ServForOracle.NetCore/ServForOracle.NetCore.csproj b/ServForOracle.NetCore/ServForOracle.NetCore.csproj index 5cc3a77..772b9d2 100644 --- a/ServForOracle.NetCore/ServForOracle.NetCore.csproj +++ b/ServForOracle.NetCore/ServForOracle.NetCore.csproj @@ -5,7 +5,7 @@ 7.1 ServForOracle.NetCore {9A19103F-16F7-4668-BE54-9A1E7A4F7556} - 0.5-beta + 0.6-beta ServForOracle.NetCore - Oracle Package and Type wrapper for .NET Roy Sánchez A wrapper over Oracle ODP.NET to make easier the calls to packages and enable the use of UDTs (User Define Types) diff --git a/nuget-deploy.sh b/nuget-deploy.sh index ab67ed6..5d01e4f 100644 --- a/nuget-deploy.sh +++ b/nuget-deploy.sh @@ -1,2 +1,2 @@ -dotnet pack ServForOracle.NetCore --include-source --include-symbols --no-build -o $TRAVIS_BUILD_DIR -nuget push ServForOracle.NetCore.nupkg -source https://api.nuget.org/v3/index.json \ No newline at end of file +dotnet pack ServForOracle.NetCore --include-source -o $TRAVIS_BUILD_DIR +dotnet nuget push ServForOracle.NetCore.*.nupkg --source https://api.nuget.org/v3/index.json --api-key $NUGET_TOKEN \ No newline at end of file