Commit a4c50b80 authored by Nikos Psaromanolakis's avatar Nikos Psaromanolakis
Browse files

fix: semantic release skipping on error [skip ci]

parent 7a878988
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ semantic_versioning_job:
  variables:
    GITLAB_TOKEN: $GROUP_ACCESS_TOKEN
  script:
    - RELEASE_VERSION=$(npx -y
    - npx -y
      -p @semantic-release/commit-analyzer@9.0.2
      -p @semantic-release/git@10.0.1
      -p @semantic-release/gitlab@9.5.0
@@ -147,7 +147,8 @@ semantic_versioning_job:
      -p @semantic-release/changelog@6.0.2
      -p conventional-changelog-conventionalcommits@5.0.0
      -p semantic-release@19.0.5
      semantic-release | grep -oP '(?<=Published release ).*' | awk '{print $1}' || echo "no-release" )
      semantic-release
    - RELEASE_VERSION=$(cat .next-release-version 2>/dev/null || echo "no-release")
    - echo "$RELEASE_VERSION" > release_version.txt
    - cat release_version.txt
  artifacts: