From 2d83f3d800978213e87e28b4458bd25bea980e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skaar=2C=20Bj=C3=B8rn-Andre?= Date: Fri, 10 Nov 2023 11:55:15 +0100 Subject: [PATCH] Fix error iterating over glob files --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 891504d..cb0dc9c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,7 +55,8 @@ jobs: env: GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} run: | - mvn --batch-mode -P ssb-bip package -DskipTests + mvn --batch-mode release:prepare -P ssb-bip package -DskipTests -DdryRun=true + mvn --batch-mode release:perform -DdryRun=true echo "tag=v0.0.11" >> $GITHUB_OUTPUT - name: Create GitHub release draft @@ -75,7 +76,5 @@ jobs: # Get all files matching the artifact id and version (source, javadoc, etc.) ARTIFACT_GLOB=(./target/$ARTIFACT_ID-$VERSION*.jar) for file in "${ARTIFACT_GLOB[@]}"; do - echo ${{ steps.create_github_release.outputs.tag_name }} echo $file - gh release upload ${{ steps.create_github_release.outputs.tag_name }} $file done