Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewgunn committed Apr 5, 2018
1 parent f7b0443 commit df9cc15
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for:
only:
- master

version: 0.1.2
version: 0.1.3

deploy:
- provider: Environment
Expand All @@ -38,4 +38,4 @@ for:
except:
- master

version: 0.1.2.{build}-{branch}
version: 0.1.3.{build}-{branch}
17 changes: 9 additions & 8 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,17 @@ Task("Pack")
{
CreateDirectory(artifactsDirectory);
var artifactFilePath = $@"{artifactsDirectory}\gunnsoft-identityserver-stores-mongodb.nupkg";
CopyFile($@".\src\Gunnsoft.IdentityServer.Stores.MongoDB\bin\{configuration}\Gunnsoft.IdentityServer.Stores.MongoDB.{version}.nupkg", $@"{artifactsDirectory}\gunnsoft-identityserver-stores-mongodb.nupkg");
CopyFile($@".\src\Gunnsoft.IdentityServer.Stores.MongoDB\bin\{configuration}\Gunnsoft.IdentityServer.Stores.MongoDB.{version}.nupkg", artifactFilePath);
if (AppVeyor.IsRunningOnAppVeyor)
{
AppVeyor.UploadArtifact(artifactFilePath, new AppVeyorUploadArtifactsSettings
foreach (var filePath in GetFiles($@"{artifactsDirectory}\*.*"))
{
if (AppVeyor.IsRunningOnAppVeyor)
{
DeploymentName = "gunnsoft-identityserver-stores-mongodb"
});
AppVeyor.UploadArtifact(filePath, new AppVeyorUploadArtifactsSettings
{
DeploymentName = filePath.GetFilename().ToString()
});
}
}
});

Expand Down

0 comments on commit df9cc15

Please sign in to comment.