Skip to content

Commit

Permalink
fix ver vs tag typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed Feb 18, 2021
1 parent 81b58ac commit d058793
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
release-notes.md
commits-history.md
*.bak
6 changes: 3 additions & 3 deletions autologs
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,10 @@ fi

# If there are 0 tags, use first and HEAD
if [[ `git tag | wc -l` == '0' ]]; then
OLD_VER=$FIRST_COMMIT
NEW_VER="HEAD"
OLD_TAG=$FIRST_COMMIT
NEW_TAG="HEAD"
elif [[ `git tag | wc -l` == '1' ]]; then
OLD_VER=$FIRST_COMMIT
OLD_TAG=$FIRST_COMMIT
fi

# Rename and backup old output file if it exists
Expand Down

0 comments on commit d058793

Please sign in to comment.