Skip to content

Commit

Permalink
other: Update release
Browse files Browse the repository at this point in the history
  • Loading branch information
embesozzi authored Nov 8, 2023
1 parent d194904 commit 5764cb3
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,24 @@ jobs:
exclude_types: other,doc,chore
config_file: .github/tag-changelog-config.js

- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.number }}
release_name: ${{ steps.version.outputs.number }}
body: ${{ steps.changelog.outputs.changes }}
draft: false
prerelease: false
- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.number }}
release_name: ${{ steps.version.outputs.number }}
body: ${{ steps.changelog.outputs.changes }}
draft: false
prerelease: false

- name: Upload JAR to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/${{ steps.get_name.outputs.name }}-${{ steps.get_version.outputs.version }}.jar
asset_name: ${{ steps.get_name.outputs.name }}-${{ steps.get_version.outputs.version }}.jar
asset_content_type: application/java-archive
- name: Upload JAR to release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./target/${{ steps.get_name.outputs.name }}-${{ steps.get_version.outputs.version }}.jar
asset_name: ${{ steps.get_name.outputs.name }}-${{ steps.get_version.outputs.version }}.jar
asset_content_type: application/java-archive

0 comments on commit 5764cb3

Please sign in to comment.