Skip to content

Commit

Permalink
ci: use bash substring comparison to determine package name from branch
Browse files Browse the repository at this point in the history
Signed-off-by: simonsan <[email protected]>
  • Loading branch information
simonsan committed Sep 14, 2023
1 parent 925bf5f commit 4c586e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Determine package
id: determine-package-name
run: |
if [[ ${{ github.ref }} == 'refs/heads/release/rustic_scheduler-*' ]]; then
if [[ ${{ github.ref }} == *"rustic_scheduler"* ]]; then
echo "package=rustic_scheduler" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 4c586e4

Please sign in to comment.