Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Mar 9, 2021
1 parent b67e180 commit 871080b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ venv.bak/

/custom_components/__init__.py
/test*.py
secrets.yaml
2 changes: 1 addition & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ git tag -a "$new" -m "v$new"
log.info "Commit tagged as v$new"

if echo "${new}" | grep -Eq "[0-9](a|b|rc)"; then
dev="$(echo "${version}" | awk -F. '/[0-9]+\./{$NF="dev"($NF+1);print}' OFS=.)"
dev="$(echo "${version}" | sed "s/dev//" | awk -F. '/[0-9]+\./{$NF="dev"($NF+1);print}' OFS=.)"
else
dev="$(echo "${new}" | awk -F. '/[0-9]+\./{$NF++;print}' OFS=.).dev0"
fi
Expand Down

0 comments on commit 871080b

Please sign in to comment.