From 3ee84abae1d1b2cd067ac9453e233e1f7070bbe4 Mon Sep 17 00:00:00 2001 From: Kevin Pollet Date: Wed, 11 Aug 2021 16:10:13 +0200 Subject: [PATCH] ci: fix release workflow --- .semaphore/semaphore.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index ebd36f4b..421e7f7d 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -26,8 +26,8 @@ global_job_config: blocks: - name: Build - skip: - when: "branch = 'gh-pages'" + run: + when: "branch =~ '.*' OR pull_request =~'.*'" task: jobs: - name: Cache Go dependencies @@ -45,8 +45,8 @@ blocks: - cache store traefik-mesh-img-$SEMAPHORE_GIT_BRANCH-$SEMAPHORE_WORKFLOW_ID traefik-mesh-img.tar - name: Unit Tests - skip: - when: "branch = 'gh-pages'" + run: + when: "branch =~ '.*' OR pull_request =~'.*'" task: prologue: commands: @@ -57,8 +57,8 @@ blocks: - make local-test - name: Integration Tests - skip: - when: "branch = 'gh-pages'" + run: + when: "branch =~ '.*' OR pull_request =~'.*'" task: prologue: commands: @@ -89,7 +89,7 @@ blocks: env_vars: - name: SEIHON_VERSION - value: 0.8.3 + value: v0.8.3 jobs: - name: Release