Skip to content

Commit

Permalink
Version 0.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed May 20, 2023
1 parent 1e88a8c commit 6095b70
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 21 deletions.
28 changes: 9 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,17 @@ jobs:
- name: Build Java server
run: make buildServer
- run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
# create the GitHub release
- name: Generate checksums
run: |
cp kroki-server.jar kroki-standalone-server-${{ env.RELEASE_VERSION }}.jar
sha512sum kroki-standalone-server-${{ env.RELEASE_VERSION }}.jar > kroki-standalone-server-${{ env.RELEASE_VERSION }}.sha512sum.txt
md5sum kroki-standalone-server-${{ env.RELEASE_VERSION }}.jar > kroki-standalone-server-${{ env.RELEASE_VERSION }}.md5sum.txt
- name: Create release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: "${{ github.ref }}"
draft: false
prerelease: false
# upload assets
- name: Upload fat-jar
uses: actions/[email protected]
run: |
gh release create "v${{ env.RELEASE_VERSION }}"
gh release upload "v${{ env.RELEASE_VERSION }}" ./server/target/kroki-standalone-server-* --clobber
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: server/target/kroki-server.jar
asset_name: kroki-server-${{ env.RELEASE_VERSION }}.jar
asset_content_type: application/zip
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish_dockerhub:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>kroki</artifactId>
<name>kroki</name>
<packaging>pom</packaging>
<version>0.21.0</version>
<version>0.21.1</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>kroki</artifactId>
<groupId>io.kroki</groupId>
<version>0.21.0</version>
<version>0.21.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down

0 comments on commit 6095b70

Please sign in to comment.