Skip to content

Skip caching when upgrading to nightly builds #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
westonruter opened this issue Nov 11, 2017 · 1 comment
Closed

Skip caching when upgrading to nightly builds #43

westonruter opened this issue Nov 11, 2017 · 1 comment

Comments

@westonruter
Copy link

I just made a new build for the 4.9 branch and then I tried upgrading to it via WP-CLI, which I had used to upgrade to a nightly branch build previously. WP-CLI tried to use the previously-cached ZIP:

$ wp core upgrade --force http://wordpress.org/nightly-builds/wordpress-4.9-latest.zip
Starting update...
Using cached file '/root/.wp-cli/cache/core/wordpress-4.9-latest-.zip'...
Unpacking the update...

Obviously this is not what I wanted. So I had to add a cache-busting query parameter to force it to skip the cache.

I think that if the URL contains “nightly-builds” then the caching should be bypassed.

Related: #17

@danielbachhuber
Copy link
Member

Why no secure?!

image

We can handle http too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants