Skip to content

Commit

Permalink
fix: use main branch, current version output
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Mar 4, 2021
1 parent b43062d commit a56ec29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions please
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,15 @@ organize-commits() # $1 = diff_range, $2 = commit_types_csv
# update please
update()
{
NEWVER=$(curl -sSL https://raw.githubusercontent.com/adhocore/please/master/VERSION)
NEWVER=$(curl -sSL https://raw.githubusercontent.com/adhocore/please/main/VERSION)
[[ "v$NEWVER" == "$(version)" ]] && ok "Already latest version" 0

info "Updating $PLIZ ..."
curl -sSLo ${FULL} https://raw.githubusercontent.com/adhocore/please/master/please
curl -sSLo ${FULL} https://raw.githubusercontent.com/adhocore/please/main/please
ok " Done [${NEWVER}]" 0
}

version() { echo v0.10.4; }
version() { echo v0.11.0; }

# get box.phar path
get-box()
Expand Down

0 comments on commit a56ec29

Please sign in to comment.