Skip to content

Commit

Permalink
Use array index syntax when setting AUTHOR variable's default
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus21337 committed Oct 8, 2024
1 parent 925f5aa commit a61eb58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
echo "SEMVER=$SEMVER" >> "$GITHUB_ENV"
echo "MAJOR=${versions[0]}" >> "$GITHUB_ENV"
echo "MINOR=${versions[1]}" >> "$GITHUB_ENV"
echo "AUTHOR=${AUTHOR:-split_by_slash[0]}" >> "$GITHUB_ENV"
echo "AUTHOR=${AUTHOR:-${split_by_slash[0]}}" >> "$GITHUB_ENV"
echo "DEVELOPMENT=$GITHUB_REPOSITORY:development" >> "$GITHUB_ENV"
echo "PRODUCTION=$GITHUB_REPOSITORY:production" >> "$GITHUB_ENV"
Expand Down

0 comments on commit a61eb58

Please sign in to comment.