Skip to content

Commit

Permalink
chore: add comments, cleanup junk
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Aug 14, 2018
1 parent d2c1b21 commit 61ef012
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion please
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ comment() { line "$1" 30 1; }

qgit() { git "$@" &>> $TMP_LOG; }

# github api
github()
{
RESP=`bash -c "curl --silent -H 'Authorization: token ${GH_AUTH_TOKEN}' $@"`
Expand All @@ -40,6 +41,7 @@ github()
echo "$RESP"
}

# show usage
usage()
{
cat << USAGE
Expand Down Expand Up @@ -68,6 +70,7 @@ USAGE
exit 0
}

# update please
update()
{
info "Updating ${PLIZ} ..."
Expand Down Expand Up @@ -214,7 +217,6 @@ fi
MAJOR=${MAJOR:-0}
MINOR=${MINOR:-0}
VFILE=${VFILE:-0}
PUBLIC=${PUBLIC:-}

if [[ $MAJOR -eq 1 ]]; then
NEXT_VERSION=`echo $VERSION | (IFS=".$IFS"; read a b c && echo $((a + 1)).0.0)`
Expand Down

0 comments on commit 61ef012

Please sign in to comment.