Skip to content

Commit

Permalink
CI: Trigger full release after git tag --push
Browse files Browse the repository at this point in the history
This fixes the regex used to detect tagged releases and runs the
`build-push-image` job for tagged releases.

Fixes #1351.
  • Loading branch information
RyanGlScott committed May 19, 2022
1 parent eb837e3 commit c73c776
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Cryptol
on:
push:
tags: ["?[0-9]+.[0-9]+(.[0-9]+)?"]
tags: ["[0-9]+.[0-9]+(.[0-9]+)?"]
branches: [master, "release-**"]
pull_request:
schedule:
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
build-push-image:
runs-on: ubuntu-20.04
needs: [config]
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || needs.config.outputs.release == 'true'
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit c73c776

Please sign in to comment.