Skip to content

Commit

Permalink
[semver:patch] Use native CircleCI arg condition for config-file option
Browse files Browse the repository at this point in the history
  • Loading branch information
zigarn committed Dec 8, 2021
1 parent a4ee01f commit 82ed460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions src/jobs/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,4 @@ steps:
command: |
mkdir --parents pdf/
mv dist/pdf/* pdf/
if [ -n "<< parameters.config-file >>" ]; then
CONFIG_OPT='--config << parameters.config-file >>'
fi
python3 -m ztraining2strigo ${CONFIG_OPT} update --dry-run --diff
python3 -m ztraining2strigo <<#parameters.config-file>>--config << parameters.config-file >><</parameters.config-file>> update --dry-run --diff
5 changes: 1 addition & 4 deletions src/jobs/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,4 @@ steps:
command: |
mkdir --parents pdf/
mv dist/pdf/* pdf/
if [ -n "<< parameters.config-file >>" ]; then
CONFIG_OPT='--config << parameters.config-file >>'
fi
python3 -m ztraining2strigo ${CONFIG_OPT} update --diff
python3 -m ztraining2strigo <<#parameters.config-file>>--config << parameters.config-file >><</parameters.config-file>> update --diff

0 comments on commit 82ed460

Please sign in to comment.