We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 736cb79 commit eddc8fcCopy full SHA for eddc8fc
1 file changed
actions/release_create/action.yml
@@ -89,13 +89,13 @@ runs:
89
90
# If we have VT results, append them
91
if [ -n '${{ steps.vt.outputs.json }}' ]; then
92
- # Add separator if body exists and isn't empty
93
- if [ -s ${rb_file} ] && [ "$(cat ${rb_file} | tr -d '[:space:]')" != "" ]; then
94
- echo "" >> ${rb_file}
95
- fi
96
-
97
# Check if VirusTotal Results header already exists, if not add it
98
if ! grep -qF "$VT_HEADER" ${rb_file}; then
+ # Add separator if body exists and isn't empty
+ if [ -s ${rb_file} ] && [ "$(cat ${rb_file} | tr -d '[:space:]')" != "" ]; then
+ echo "" >> ${rb_file}
+ fi
+
99
echo "---" >> ${rb_file}
100
echo "$VT_HEADER" >> ${rb_file}
101
fi
0 commit comments