Skip to content

Commit 1e0a099

Browse files
committed
fix: Updating workflow tagging for correct branch context
Signed-off-by: S3B4SZ17 <sebastian.zumbado@sysdig.com>
1 parent d194483 commit 1e0a099

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ jobs:
102102
TAG_CONTEXT: 'repo'
103103
WITH_V: true
104104
PRERELEASE_SUFFIX: "beta"
105-
PRERELEASE: ${{ (github.base_ref || github.ref_name == 'beta') && 'true' || (github.base_ref || github.ref_name == 'main') && 'false' || (github.base_ref || github.ref_name == 'feat/cli-scanner-tool') && 'false' || 'true' }}
105+
PRERELEASE: ${{ (github.base_ref || github.ref_name == 'beta') && 'true' || (((github.base_ref || github.ref_name == 'main') && 'false' || (github.base_ref || github.ref_name == 'feat/cli-scanner-tool') && 'false') || 'true') }}
106106

107107
- name: Summary
108108
run: |

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
TAG_CONTEXT: 'repo'
8282
WITH_V: true
8383
PRERELEASE_SUFFIX: "beta"
84-
PRERELEASE: ${{ (github.base_ref || github.ref_name == 'beta') && 'true' || (github.base_ref || github.ref_name == 'main') && 'false' || (github.base_ref || github.ref_name == 'integration') && 'false' || 'true' }}
84+
PRERELEASE: ${{ (github.base_ref || github.ref_name == 'beta') && 'true' || (((github.base_ref || github.ref_name == 'main') && 'false' || (github.base_ref || github.ref_name == 'feat/cli-scanner-tool') && 'false') || 'true') }}
8585
DRY_RUN: true
8686

8787
- name: Compare versions

0 commit comments

Comments
 (0)