summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build-syncthing.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml
index b2a287d6e2..8b8a78a190 100644
--- a/.github/workflows/build-syncthing.yaml
+++ b/.github/workflows/build-syncthing.yaml
@@ -98,7 +98,7 @@ jobs:
package-windows:
name: Package for Windows
- if: github.event_name == 'push' && github.ref == 'refs/heads/release'
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
environment: signing
needs:
- build-test
@@ -197,7 +197,7 @@ jobs:
package-macos:
name: Package for macOS
- if: github.event_name == 'push' && github.ref == 'refs/heads/release'
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-'))
environment: signing
needs:
- build-test