Skip to content
Lee Rowlands edited this page Dec 21, 2022 · 3 revisions

Rebuilding a phar

Commit some changes. Tag a release

git tag 0.0.9

Build the phar

box compile

Commit it

git add tl.phar
git commit -m "New binaries"
git push origin master

Push binary for version to gh-pages branch

git co gh-pages
git merge master
cp tl.phar downloads/tl-0.0.9.phar
# generate a sha1 hash
openssl sha1 tl.phar

edit manifest.json to add new entry Commit and push

git add manifest.json
git ci "New binaries"
git push origin gh-pages

Visit the release page in Github and upload the binary with the tag suffix to the release

Wait a couple of minutes for build

tl self-update
Clone this wiki locally