diff --git a/CHANGELOG.md b/CHANGELOG.md index edcaae131c..df5fd26ce5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ ### Chore - [#1814](https://github.com/poanetwork/blockscout/pull/1814) - Clear build artefacts script +- [#1837](https://github.com/poanetwork/blockscout/pull/1837) - Add -f flag to clear_build.sh script delete static folder ## 1.3.10-beta diff --git a/rel/commands/clear_build.sh b/rel/commands/clear_build.sh index 66ede0039b..5faca7ffeb 100755 --- a/rel/commands/clear_build.sh +++ b/rel/commands/clear_build.sh @@ -4,4 +4,9 @@ rm -rf ./_build rm -rf ./deps rm -rf ./logs/dev rm -rf ./apps/explorer/node_modules -rm -rf ./apps/block_scout_web/assets/node_modules \ No newline at end of file +rm -rf ./apps/block_scout_web/assets/node_modules + +case "$1" in + -f) + rm -rf ./apps/block_scout_web/priv/static;; +esac \ No newline at end of file