File tree Expand file tree Collapse file tree 5 files changed +36
-18
lines changed Expand file tree Collapse file tree 5 files changed +36
-18
lines changed Original file line number Diff line number Diff line change 1515 " dotnet-verify"
1616 ],
1717 "rollForward" : false
18+ },
19+ "nbgv" : {
20+ "version" : " 3.6.139" ,
21+ "commands" : [
22+ " nbgv"
23+ ],
24+ "rollForward" : false
1825 }
1926 }
2027}
Original file line number Diff line number Diff line change @@ -80,11 +80,10 @@ jobs:
8080 path : ./artifacts/logs
8181 if-no-files-found : error
8282
83- # TODO: Add this back once a package is generated
84- # - name: Upload packages
85- # uses: actions/upload-artifact@v4
86- # with:
87- # name: packages-${{ matrix.os }}
88- # path: |
89- # ./artifacts/package
90- # if-no-files-found: error
83+ - name : Upload packages
84+ uses : actions/upload-artifact@v4
85+ with :
86+ name : packages-${{ matrix.os }}
87+ path : |
88+ ./artifacts/package
89+ if-no-files-found : error
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ jobs:
2525 path : packages
2626 pattern : packages-windows-*
2727 merge-multiple : true
28- # TODO: Add this back when publishing packages
29- # - name: Publish NuGet package
30- # shell: pwsh
31- # run: |
32- # foreach ($file in (Get-ChildItem ./packages/release -Recurse -Include *.nupkg)) {
33- # echo "NuGet publish for file: '$file'"
34- # dotnet nuget push $file --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
35- # }
28+
29+ - name : Publish NuGet package
30+ shell : pwsh
31+ run : |
32+ foreach ($file in (Get-ChildItem ./packages/release -Recurse -Include *.nupkg)) {
33+ echo "NuGet publish for file: '$file'"
34+ dotnet nuget push $file --api-key "${{ secrets.NUGET_API_KEY }}" --source https://api.nuget.org/v3/index.json --skip-duplicate
35+ }
Original file line number Diff line number Diff line change 1+ # Contributing
2+
3+ // TODO
4+
5+ ## How to release
6+
7+ 1 . ` git checkout main && git pull --ff-only `
8+ 2 . ` dotnet nbgv tag `
9+ 3 . ` git push origin {tag name} `
10+ 4 . Navigate to GitHub releases page and create release from tag
11+ 5 . (If desired) increment version (major or minor) in ` //version.json > version `
12+ 6 . ` git add . && git commit -m 'Bumping version' && git push `
Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json" ,
3- "version" : " 0. 1.0" ,
3+ "version" : " 1.0" ,
44 "publicReleaseRefSpec" : [
55 " ^refs/heads/main$" ,
6- " ^refs/heads /v\\ d+(?: \\ .\\ d+)? $"
6+ " ^refs/tags /v\\ d+\\ .\\ d+\\ . \\ d+ $"
77 ],
88 "cloudBuild" : {
99 "buildNumber" : {
You can’t perform that action at this time.
0 commit comments