Add editorconfig and fix issues
This commit is contained in:
parent
5d73eef647
commit
502cfdd1ef
16
.editorconfig
Normal file
16
.editorconfig
Normal file
@ -0,0 +1,16 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
tab_width = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[Makefile]
|
||||
indent_style = tab
|
@ -75,13 +75,13 @@ if [[ "${PLUGIN_AUTO_TAG:-}" == "true" ]]; then
|
||||
major=$(echo "${TAG}" |awk -F'.' '{print $1}')
|
||||
minor=$(echo "${TAG}" |awk -F'.' '{print $2}')
|
||||
release=$(echo "${TAG}" |awk -F'.' '{print $3}')
|
||||
|
||||
|
||||
major=${major:-0}
|
||||
minor=${minor:-0}
|
||||
release=${release:-0}
|
||||
|
||||
|
||||
echo "${major},${major}.${minor},${major}.${minor}.${release},latest" > .tags
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "${PLUGIN_MIRRORS:-}" ]; then
|
||||
|
Reference in New Issue
Block a user