From a038118d211faedbdfa1360693d7c46c16b0cbc3 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Sun, 10 Oct 2021 19:32:52 +0200 Subject: [PATCH] fix(ci): Fix semantic-releases branches --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 569d794..2e3c347 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,8 +48,8 @@ release: name: ghcr.io/go-semantic-release/semantic-release:2.15.0 entrypoint: [""] stage: release - only: - - feature/semrel + rules: + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH script: # Set GITLAB_TOKEN in variables section with API access for the project - semantic-release -- GitLab