Skip to content

Commit

Permalink
Merge pull request #134 from scrapy/fix-publish
Browse files Browse the repository at this point in the history
Fix the tag format in the publish action.
  • Loading branch information
wRAR authored Oct 27, 2022
2 parents 97cc517 + e4493e9 commit ddd9784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Check Tag
id: check-release-tag
run: |
if [[ ${{ github.event.ref }} =~ ^refs/tags/[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|[.]dev[0-9]+)?$ ]]; then
if [[ ${{ github.event.ref }} =~ ^refs/tags/v[0-9]+[.][0-9]+[.][0-9]+(rc[0-9]+|[.]dev[0-9]+)?$ ]]; then
echo ::set-output name=release_tag::true
fi
Expand Down

0 comments on commit ddd9784

Please sign in to comment.