New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(option): add on-changes-option #34
feat(option): add on-changes-option #34
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Good job, Thanks for this PR.
Only few comments to make it right.
runner.sh
Outdated
#/ --remove-page-suffix Remove page suffix when possible | ||
#/ --on-changes Export drawio file only if he's newer than exported files | ||
#/ (in case of single page file) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rectify the lines order and some typo
#/ --remove-page-suffix Remove page suffix when possible | |
#/ --on-changes Export drawio file only if he's newer than exported files | |
#/ (in case of single page file) | |
#/ --remove-page-suffix Remove page suffix when possible | |
#/ (in case of single page file) | |
#/ --on-changes Export drawio files only if it's newer than exported files |
runner.sh
Outdated
echo "+++ generate adoc file" | ||
create_asciidoc_page "$path" "$filename" "$page" "$output_filename" "$output_file" | ||
echo "image '$output_file.png'" | ||
if [ "$should_retry" == "false" -a "$ON_CHANGES" == "true" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if [ "$should_retry" == "false" -a "$ON_CHANGES" == "true" ]; then | |
if [ "$should_retry" == "false" ] && [ "$ON_CHANGES" == "true" ]; then |
🎉 This PR is included in version 3.3.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
resolves #15
I'm not an expert in shell but this pr do the job, i would like to know your opinion on it :D