Browse Source

build: also run APT publish for v2 tags

Jakob Borg 9 months ago
parent
commit
f1e136a17b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/build-syncthing.yaml

+ 1 - 1
.github/workflows/build-syncthing.yaml

@@ -817,7 +817,7 @@ jobs:
 
   publish-apt:
     name: Publish APT
-    if: github.repository_owner == 'syncthing' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v1'))
+    if: github.repository_owner == 'syncthing' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-') || startsWith(github.ref, 'refs/tags/v'))
     environment: release
     needs:
       - package-debian