Skip to content

Commit

Permalink
chore: add/support before-phar event
Browse files Browse the repository at this point in the history
  • Loading branch information
adhocore committed Sep 27, 2019
1 parent ac3f091 commit 6cce738
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions please
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ $(ok Events:)
$(info "--before-npm") $(comment "Run the command before releasing to npm.")
$(info "--before-push") $(comment "Run the command before pushing code to remote.")
$(info "--before-vcs") $(comment "Run the command before releasing to VCS.")
$(info "--before-phar") $(comment "Run the command before uploading phar binary.")
$(info "--after-all") $(comment "Run the command after everything finishes.")
(See https://github.com/adhocore/please#events for more info)
USAGE
Expand Down Expand Up @@ -164,6 +165,7 @@ publish-phar()
error "Check bin value in composer.json" 1
fi
trigger before-phar
info "Compiling phar ..."
php `get-box` compile >> ${TMP_LOG}
ok
Expand Down

0 comments on commit 6cce738

Please sign in to comment.