Commit 6b05408e authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: dry run option

parent 3ac15e7c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -710,7 +710,8 @@ semantic-release:
  stage: publish
  script:
    - configure_commit_signing
    - semantic-release --ci ${SEMREL_DRY_RUN:+-d} ${TRACE:+--debug}
    - if [[ "$SEMREL_DRY_RUN" == "true" ]]; then dry_run_opt="-d"; fi
    - semantic-release ${TRACE:+--debug} --ci $dry_run_opt
  dependencies: []
  rules:
    - if: '$SEMREL_RELEASE_DISABLED == "true"'