Skip to content

Commit

Permalink
Ticket #7 : Publish Nuget Package
Browse files Browse the repository at this point in the history
  • Loading branch information
thabart committed Sep 22, 2021
1 parent 52121e1 commit 89c1de5
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<VersionPrefix>0.0.1</VersionPrefix>
<Authors>SimpleIdServer</Authors>
<Owners>SimpleIdServer</Owners>
</PropertyGroup>
</Project>
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,10 @@ For project documentation, please visit [docs](https://simpleidserver.github.io/

| Command | Description |
| -------------------------- | --------------------------------------- |
| psake publishHelmAndWebsite | Publish Helm Charts and the website |
| psake publishHelmAndWebsite | Publish Helm Charts and the website |

## Packages

| | | | |
| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `FaasNet.Runtime` | [![MyGet (dev)](https://img.shields.io/myget/advance-ict/v/FaasNet.Runtime.svg)](https://www.myget.org/feed/advance-ict/package/nuget/FaasNet.Runtime) | [![NuGet](https://img.shields.io/nuget/v/FaasNet.Runtime.svg)](https://nuget.org/packages/FaasNet.Runtime) | [![NuGet](https://img.shields.io/nuget/dt/FaasNet.Runtime.svg)](https://nuget.org/packages/FaasNet.Runtime) |
18 changes: 18 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,25 @@ test: off
artifacts:
- path: FaasNetCLI.zip
name: FaasNetCli
- path: build\results\*.nupkg
name: NuGet
deploy:
- provider: NuGet
server: https://www.myget.org/F/advance-ict/api/v2/package
api_key:
secure: zs1JVjFHRdvB36fGq2rN8MR7QeJnCVkt7VTG4ZHT5OYDNpuh2AlGHqK+rseevn8l
skip_symbols: true
artifact: /.*\.nupkg/
on:
branch: master
- provider: NuGet
name: production
artifact: /.*\.nupkg/
api_key:
secure: ppwdCVQ3Ue4Msodk0VafBwlpujkDBddjGg7okIRojYiVFhVD6fhd7ERijm3RzSGD
on:
branch: master
appveyor_repo_tag: true
- provider: GitHub
auth_token:
secure: zTfwwuXIaZPeCrcbsQhuJxmDiIoya4VeC+GZZVv0+SSwX0oIPgYdkiVLxKjFqbEy
Expand Down
1 change: 1 addition & 0 deletions default.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ task publishHelmAndWebsite {
}

task pack -depends release, compile {
exec { dotnet pack $source_dir\FaasNet.Runtime\FaasNet.Runtime.csproj -c $config --no-build $versionSuffix --output $result_dir }
}

task test {
Expand Down

0 comments on commit 89c1de5

Please sign in to comment.