Skip to content

Commit

Permalink
v1.0.0-alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
Raul Hidalgo Caballero committed Dec 21, 2017
1 parent 45428ed commit 7e6cf8e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,22 @@ jobs:
# Pack
- run: dotnet build --configuration Release ./src/GraphQL.Server.AspNetCore/GraphQL.Server.AspNetCore.csproj
- run: dotnet pack --configuration Release ./src/GraphQL.Server.AspNetCore/GraphQL.Server.AspNetCore.csproj
- run: dotnet build --configuration Release ./src/GraphQL.Server.AspNetCore.GraphiQL/GraphQL.Server.AspNetCore.GraphiQL.csproj
- run: dotnet pack --configuration Release ./src/GraphQL.Server.AspNetCore.GraphiQL/GraphQL.Server.AspNetCore.GraphiQL.csproj

# Store Artifacts
- store_artifacts:
path: ./src/GraphQL.Server.AspNetCore/bin/Release/GraphQL.Server.AspNetCore.1.0.0-alpha1.nupkg
- store_artifacts:
path: ./src/GraphQL.Server.AspNetCore.GraphiQL/bin/Release/GraphQL.Server.AspNetCore.GraphiQL.1.0.0-alpha1.nupkg

# Deploy
- deploy:
name: MyGet
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
dotnet nuget push ./src/GraphQL.Server.AspNetCore/bin/Release/GraphQL.Server.AspNetCore.1.0.0-beta2.nupkg --api-key $MY_GET_API_KEY --source $MY_GET_SOURCE
#dotnet nuget push ./src/GraphQL.Server.AspNetCore/bin/Release/GraphQL.Server.AspNetCore.1.0.0-beta2.nupkg --api-key $MY_GET_API_KEY --source $MY_GET_SOURCE
#dotnet nuget push ./src/GraphQL.Server.AspNetCore.GraphiQL/bin/Release/GraphQL.Server.AspNetCore.GraphiQL.1.0.0-beta2.nupkg --api-key $MY_GET_API_KEY --source $MY_GET_SOURCE
fi
workflows:
Expand All @@ -52,7 +57,7 @@ workflows:
jobs:
- netcore1.0
- netcore2.0
#- deploy:
# requires:
# - netcore1.0
# - netcore2.0
- deploy:
requires:
- netcore1.0
- netcore2.0

0 comments on commit 7e6cf8e

Please sign in to comment.