8000 When doing a self-update, download the file from GitHub releases instead of the repository by morozov · Pull Request #1084 · phpbrew/phpbrew · GitHub
[go: up one dir, main page]

Skip to content

When doing a self-update, download the file from GitHub releases instead of the repository#1084

Merged
morozov merged 1 commit intophpbrew:masterfrom
morozov:self-update
Dec 11, 2019
Merged

When doing a self-update, download the file from GitHub releases instead of the repository#1084
morozov merged 1 commit intophpbrew:masterfrom
morozov:self-update

Conversation

@morozov
Copy link
Contributor
@morozov morozov commented Dec 10, 2019

Having the built PHAR in the source tree is annoying since IDEs pick up its content and use for static analysis, completion, etc. It's not part of the source tree, cannot be merged, blamed, yadda yadda yadda.

As of now, GitHub supports linking to the latest release which we can leverage instead.

TODO:

  • Upload the latest release artifacts to the release page.
  • Update the self-update command and documentation to point to the GitHub release instead of a blob in the source tree.
  • During the next release, update the PHAR in the source tree for the last time.
  • After some time, remove the PHAR from the source tree.

@morozov morozov added this to the Release 1.25.0 milestone Dec 10, 2019
@morozov morozov self-assigned this Dec 10, 2019
@morozov morozov merged commit 788aadc into phpbrew:master Dec 11, 2019
@morozov morozov deleted the self-update branch December 11, 2019 01:19
morozov added a commit that referenced this pull request Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments

0