From c1580ef864c9381ba6f9522e4efcdf2ca5db00d2 Mon Sep 17 00:00:00 2001 From: Bartosz Spyrko-Smietanko Date: Fri, 10 Jan 2025 10:14:46 +0000 Subject: [PATCH] Correct released binary name --- .github/workflows/release.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0727451e..0172f6b8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -35,9 +35,13 @@ jobs: mvn -B release:perform -Pdist,jboss-release -s maven-settings.xml git push git push --tags + - name: Prepare release ZIP + run: | + # maintain the prospero-build- prefix for the zip for historical reasons (to have a predictable URL) + mv dist/build/target/prospero-${{steps.metadata.outputs.current-version}}.zip prospero-build-${{steps.metadata.outputs.current-version}}.zip - name: Create GH release uses: softprops/action-gh-release@v2 with: - files: dist/build/target/prospero-${{steps.metadata.outputs.current-version}}.zip + files: prospero-build-${{steps.metadata.outputs.current-version}}.zip tag_name: ${{steps.metadata.outputs.current-version}} prerelease: contains(${{steps.metadata.outputs.current-version}}, "Beta")