Skip to content

Commit

Permalink
Fix error iterating over glob files
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaar, Bjørn-Andre committed Nov 10, 2023
1 parent d5aa100 commit 845ff58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
ARTIFACT_ID=$(mvn help:evaluate -Dexpression=project.artifactId -q -DforceStdout)
VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
# Get all files matching the artifact id and version (source, javadoc, etc.)
ARTIFACT_GLOB=$(realpath ./target/$ARTIFACT_ID-$VERSION*.jar)
for file in $ARTIFACT_GLOB; do
ARTIFACT_GLOB=(./target/$ARTIFACT_ID-$VERSION*.jar)
for file in "${ARTIFACT_GLOB[@]}"; do
gh release upload ${{ steps.create_github_release.outputs.tag_name }} $file
done
Expand Down

0 comments on commit 845ff58

Please sign in to comment.