Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion cli/module_generate/_templates/.github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+" # the build-action will trigger on tags with the format 1.0.0
# we support 0.0.1, v0.0.1, 0.0.1-rc1, v0.0.1-rc1
- "v?[0-9]+.[0-9]+.[0-9]+"
- "v?[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"
Comment on lines +6 to +7
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could do this in a single line: v?[0-9]+.[0-9]+.[0-9]+(?:-rc[0-9]+)?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, both of these would accept v0.0.1-??? -- as the v0.0.1 part would match



jobs:
publish:
Expand Down