From 43a88a6904d0b5a3e31bf48833702992989afdd1 Mon Sep 17 00:00:00 2001 From: bock Date: Sun, 7 Jul 2024 09:52:08 +0200 Subject: [PATCH] Release with Maven --- .github/workflows/release.yml | 4 ++-- .mvn/settings.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5b4dc55..b1b8d0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,8 +48,8 @@ jobs: node-version: 14.x registry-url: "https://npm.pkg.github.com" scope: "@dipa-projekt" - - name: Build & Analyze with Maven - run: mvn -s .mvn/settings.xml -P develop-ci -Ddocker.skip.build=true -B clean install org.sonarsource.scanner.maven:sonar-maven-plugin:sonar --file pom.xml + - name: Release with Maven + run: mvn -s .mvn/settings.xml -B -DreleaseVersion=${{ github.event.inputs.release_version }} gitflow:release --file pom.xml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} diff --git a/.mvn/settings.xml b/.mvn/settings.xml index 1adbbb8..3758525 100644 --- a/.mvn/settings.xml +++ b/.mvn/settings.xml @@ -37,7 +37,7 @@ github ${env.GIT_HUB_USERNAME} - ${env.GIT_HUB_PACKAGES_ACCESS_TOKEN_WRITE} + ${env.GIT_HUB_PACKAGES_ACCESS_TOKEN} github-packages