File tree 1 file changed +7
-3
lines changed 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,13 @@ jobs:
180
180
run : |
181
181
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
182
182
.\mvnw package -Pnative -DskipTests
183
+ shell : cmd
184
+
185
+ - name : Version
186
+ id : version
187
+ run : |
183
188
$version=(& .\mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)
184
189
"current_version=$version" | Out-File -FilePath $env:GITHUB_OUTPUT -Encoding utf8 -Append
185
- shell : cmd
186
190
187
191
- name : Generate release changelog
188
192
uses : mikepenz/release-changelog-builder-action@v5
@@ -193,14 +197,14 @@ jobs:
193
197
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
194
198
195
199
- name : Rename file
196
- run : Rename-Item -Path ${{ github.workspace }}/target/kafkagen-${{ steps.build_native_windows .outputs.current_version }}-runner.exe -NewName kafkagen-${{ steps.build_native_windows .outputs.current_version }}-windows-amd64.exe
200
+ run : Rename-Item -Path ${{ github.workspace }}/target/kafkagen-${{ steps.version .outputs.current_version }}-runner.exe -NewName kafkagen-${{ steps.version .outputs.current_version }}-windows-amd64.exe
197
201
198
202
- name : Update release
199
203
200
204
with :
201
205
token : ${{ secrets.GITHUB_TOKEN }}
202
206
body : ${{ steps.build_changelog.outputs.changelog }}
203
- artifacts : ${{ github.workspace }}/target/kafkagen-${{ steps.build_native_windows .outputs.current_version }}-windows-amd64.exe
207
+ artifacts : ${{ github.workspace }}/target/kafkagen-${{ steps.version .outputs.current_version }}-windows-amd64.exe
204
208
draft : truedocker i
205
209
prerelease : true
206
210
allowUpdates : true
You can’t perform that action at this time.
0 commit comments