Skip to content

Commit

Permalink
don't match leading 'v' in tag names, we don't use it here
Browse files Browse the repository at this point in the history
  • Loading branch information
anthrotype committed Dec 27, 2020
1 parent 2a9b44d commit 6206570
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build + Deploy
on:
push:
branches: [master]
tags: ["v*.*.*"]
tags: ["*.*.*"]
pull_request:
branches: [master]

Expand Down Expand Up @@ -109,7 +109,7 @@ jobs:

deploy:
# only run if the commit is tagged...
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/')
# ... and all build jobs completed successfully
needs:
- build_unix
Expand Down Expand Up @@ -139,8 +139,8 @@ jobs:
- name: Extract release notes from annotated tag message
id: release_notes
env:
# e.g. v0.1.0a1, v1.2.0b2 or v2.3.0rc3, but not v1.0.0
PRERELEASE_TAG_PATTERN: "v[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+([ab]|rc)[[:digit:]]+"
# e.g. 0.1.0a1, 1.2.0b2 or 2.3.0rc3, but not 1.0.0
PRERELEASE_TAG_PATTERN: "[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+([ab]|rc)[[:digit:]]+"
run: |
# GH checkout action doesn't preserve tag annotations, we must fetch them
# https://github.com/actions/checkout/issues/290
Expand Down

0 comments on commit 6206570

Please sign in to comment.