|
54 | 54 | name: nupkgs |
55 | 55 | path: artifacts/*.nupkg |
56 | 56 |
|
57 | | - # --- Next Version --- |
| 57 | + # --- Analyzer Rules and Next Version --- |
| 58 | + |
| 59 | + - name: Move analyzer rules |
| 60 | + run: ./build.cmd move-analyzer-rules --version v${{ steps.version.outputs.VERSION }} |
58 | 61 |
|
59 | 62 | - name: Generate changelog |
60 | 63 | run: ./build.cmd docs-generate --stable |
|
67 | 70 | - name: Commit changes |
68 | 71 | uses: EndBug/add-and-commit@v9 |
69 | 72 | with: |
70 | | - message: "Set next BenchmarkDotNet version: ${{ steps.version.outputs.VERSION }}" |
| 73 | + message: "Set next BenchmarkDotNet version: ${{ steps.version.outputs.VERSION }} and update released analyzer rules" |
71 | 74 | author_name: GitHub Actions |
72 | 75 | |
73 | 76 | committer_name: GitHub Actions |
@@ -112,27 +115,6 @@ jobs: |
112 | 115 | - name: Publish to NuGet |
113 | 116 | run: dotnet nuget push ./artifacts/*.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate |
114 | 117 |
|
115 | | - # --- Analyzer Rules --- |
116 | | - |
117 | | - - name: Move analyzer rules |
118 | | - run: ./build.cmd move-analyzer-rules --version v${{ steps.version.outputs.VERSION }} |
119 | | - |
120 | | - - name: Commit analyzer rules changes |
121 | | - uses: EndBug/add-and-commit@v9 |
122 | | - with: |
123 | | - message: "Update released analyzer rules" |
124 | | - author_name: GitHub Actions |
125 | | - |
126 | | - committer_name: GitHub Actions |
127 | | - committer_email: [email protected] |
128 | | - |
129 | | - - name: Push git changes |
130 | | - uses: ad-m/github-push-action@v1 |
131 | | - with: |
132 | | - github_token: ${{ secrets.GITHUB_TOKEN }} |
133 | | - branch: master |
134 | | - tags: false |
135 | | - |
136 | 118 | # --- Documentation --- |
137 | 119 |
|
138 | 120 | - name: Fetch changelog |
|
0 commit comments