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 30cbe72 commit 401cdc3
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_server-*' ]]; then
if [[ ${{ github.ref }} == *"rustic_server"* ]]; then
echo "package=rustic_server" >> $GITHUB_OUTPUT
fi
Expand Down

0 comments on commit 401cdc3

Please sign in to comment.