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")