File tree 2 files changed +4
-7
lines changed
2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 41
41
42
42
- name : Publish NuGet package
43
43
run : |
44
- dotnet pack src/YourProject/YourProject.csproj --configuration Release --output ./nupkg /p:Version=${{ env.GitVersion_MajorMinorPatch }} /p:Version=${{ env.GitVersion_MajorMinorPatch }}
44
+ dotnet pack CronScheduler.sln --configuration Release --no-build --output ./nupkg /p:Version=${{ env.GitVersion_MajorMinorPatch }} /p:Version=${{ env.GitVersion_MajorMinorPatch }}
45
45
dotnet nuget push ./nupkg/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
Original file line number Diff line number Diff line change @@ -17,14 +17,11 @@ branches:
17
17
regex : ^chore[/-]
18
18
label : beta
19
19
increment : None
20
- # Fallback configuration for any branch not matching the above patterns
21
- other :
22
- regex : .*
23
- label : ' '
24
- increment : Patch
25
20
pull-request :
26
21
regex : ^(pull|pr)[/-]
27
22
label : alpha
28
23
increment : Inherit
24
+ major-version-bump-message : ' \+semver:\s?(breaking|major)'
25
+ minor-version-bump-message : ' \+semver:\s?(feature|minor)'
26
+ patch-version-bump-message : ' \+semver:\s?(fix|patch)'
29
27
commit-message-incrementing : Enabled
30
- major-version-bump-message : ' \\+semver:\\s?(breaking|major)'
You can’t perform that action at this time.
0 commit comments