Commit 3ac15e7c authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: sanitize variable substitution pattern

replace '${foo+repl}' pattern with '${foo:+repl}' (latest supports $foo being defined but empty)
parent 02b6dd4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -710,7 +710,7 @@ semantic-release:
  stage: publish
  script:
    - configure_commit_signing
    - semantic-release --ci ${SEMREL_DRY_RUN+-d} ${TRACE+--debug}
    - semantic-release --ci ${SEMREL_DRY_RUN:+-d} ${TRACE:+--debug}
  dependencies: []
  rules:
    - if: '$SEMREL_RELEASE_DISABLED == "true"'