Create a release from a specified branch
Branch to tag. Default master
.
The title of the release. Default release: version ${TAG}
.
The message of the release. Default generate conventional changelog.
Is a draft ?. Default false
.
Is a pre-release ?. Default false
.
Create a new release ?. Default true
.
Tag to use
The new release name.
The URL for uploading assets to the release, which could be used by GitHub Actions for additional uses, for example the @actions/upload-release-asset
GitHub Action
steps:
- uses: actions/[email protected]
- name: Create Release
uses: aaiezza/create-release@master
id: create_release
with:
release_branch: releases/0.0.1
tag: 0.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Jar
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: target/${{ needs.version.outputs.jar-name }}
asset_name: ${{ needs.version.outputs.release-jar-name }}
asset_content_type: application/java-archive