Skip to content

Commit 89c1de5

Browse files
Ticket #7 : Publish Nuget Package
1 parent 52121e1 commit 89c1de5

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

Directory.Build.props

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<Project>
2+
<PropertyGroup>
3+
<VersionPrefix>0.0.1</VersionPrefix>
4+
<Authors>SimpleIdServer</Authors>
5+
<Owners>SimpleIdServer</Owners>
6+
</PropertyGroup>
7+
</Project>

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ For project documentation, please visit [docs](https://simpleidserver.github.io/
1010

1111
| Command | Description |
1212
| -------------------------- | --------------------------------------- |
13-
| psake publishHelmAndWebsite | Publish Helm Charts and the website |
13+
| psake publishHelmAndWebsite | Publish Helm Charts and the website |
14+
15+
## Packages
16+
17+
| | | | |
18+
| --------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
19+
| `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) |

appveyor.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,25 @@ test: off
1818
artifacts:
1919
- path: FaasNetCLI.zip
2020
name: FaasNetCli
21+
- path: build\results\*.nupkg
22+
name: NuGet
2123
deploy:
24+
- provider: NuGet
25+
server: https://www.myget.org/F/advance-ict/api/v2/package
26+
api_key:
27+
secure: zs1JVjFHRdvB36fGq2rN8MR7QeJnCVkt7VTG4ZHT5OYDNpuh2AlGHqK+rseevn8l
28+
skip_symbols: true
29+
artifact: /.*\.nupkg/
30+
on:
31+
branch: master
32+
- provider: NuGet
33+
name: production
34+
artifact: /.*\.nupkg/
35+
api_key:
36+
secure: ppwdCVQ3Ue4Msodk0VafBwlpujkDBddjGg7okIRojYiVFhVD6fhd7ERijm3RzSGD
37+
on:
38+
branch: master
39+
appveyor_repo_tag: true
2240
- provider: GitHub
2341
auth_token:
2442
secure: zTfwwuXIaZPeCrcbsQhuJxmDiIoya4VeC+GZZVv0+SSwX0oIPgYdkiVLxKjFqbEy

default.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ task publishHelmAndWebsite {
7070
}
7171

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

7576
task test {

0 commit comments

Comments
 (0)