Skip to content

Commit 4702a84

Browse files
authored
Merge pull request #4 from ecmwf/improve-branch-check-msg-in-cd-pypi
Update message when checking branch name in cd-pypi.yml
2 parents 5d5e695 + 71008cd commit 4702a84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/cd-pypi.yml

+1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
- name: Test branch name pattern
4949
if: ${{ vars.BRANCH_REGEX_FOR_DEPLOYMENT != '' }}
5050
run: |
51+
echo "Checking that this release is being made from a main/master branch ( ${{ vars.BRANCH_REGEX_FOR_DEPLOYMENT }} ) - will fail if not"
5152
git branch --all --list --format "%(refname:lstrip=-1)" --contains "${{ github.ref_name }}" | grep -E "${{ vars.BRANCH_REGEX_FOR_DEPLOYMENT }}"
5253
5354
- name: Set up Python

0 commit comments

Comments
 (0)