From 3af5107b95d9e29d83493fedb453b8ab80830dc2 Mon Sep 17 00:00:00 2001 From: swaroopar Date: Tue, 3 Oct 2023 08:24:58 +0200 Subject: [PATCH] upload application jar as release asset --- .github/workflows/release.yml | 2 +- jreleaser.yml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3777b7d..9c528df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -70,7 +70,7 @@ jobs: current-version: ${{ env.CURRENT_VERSION }} version-fragment: ${{ env.VERSION_FRAGMENT }} - - name: Remove SNAPSHOT from POM version + - name: Update POMs to version to be released run: mvn versions:set -DnewVersion=${{ steps.new_version.outputs.next-version }} -DgenerateBackupPoms=false - name: Build diff --git a/jreleaser.yml b/jreleaser.yml index 7172372..2b790e6 100644 --- a/jreleaser.yml +++ b/jreleaser.yml @@ -16,3 +16,9 @@ project: release: github: overwrite: true +signing: + active: ALWAYS + armored: true +files: + artifacts: + - path: 'target/terraform-boot-{{projectEffectiveVersion}}.jar'