diff --git a/.gitea/conventional_commits/generate-version.sh b/.gitea/conventional_commits/generate-version.sh index 2f00478..2ea7ff1 100755 --- a/.gitea/conventional_commits/generate-version.sh +++ b/.gitea/conventional_commits/generate-version.sh @@ -46,7 +46,7 @@ create_file() { } get_commit_range() { - rm $TEMP_FILE_PATH/messages.txt + rm -f $TEMP_FILE_PATH/messages.txt if [[ $LAST_TAG =~ $PATTERN ]]; then create_file true else