[wp-trac] [WordPress Trac] #51585: Make beta & RC releases available in Github
WordPress Trac
noreply at wordpress.org
Thu Nov 18 02:52:39 UTC 2021
#51585: Make beta & RC releases available in Github
-----------------------------+------------------------------
Reporter: malthert | Owner: (none)
Type: feature request | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-----------------------------+------------------------------
Comment (by dd32):
Replying to [comment:11 om4csaba]:
> As a plugin developer, we are constantly running tests in CI against the
upcoming releases. Both for the tagged pre-releases and the latest commit
in the "main" (trunk) branch.
>
> Because the whole system is git-based, we clone every dependency in the
CI and run the test. Currently, I manually search for the commit hash for
pre-releases, but it will be way easier for us if the pre-release tags are
in there.
For automated testing, testing against trunk would be better IMHO, knowing
it's broken in Beta1 isn't super useful IMHO if it was fixed the next day
in trunk. Knowing that your plugin broke with trunk a month before Beta is
also hugely beneficial to the core community, as bugs can be located
faster, and realistically plugins shouldn't break that often. Yes, it
means it's more likely to fail incorrectly, but that's a small price to
pay.
However, I would also suggest that using GIT/SVN to fetch pre-release
releases is probably not ideal (although I understand part of your current
workflow), I would suggest something like `wp core download
--version=beta` would be better (unfortunately wp-cli only seems to
support stable/nightlies right now, not beta/rc). But you could also do
`wp core download https://wordpress.org/wordpress-5.8.2-RC1.zip`, or just
replace your `git clone` with a `curl $url | unzip` command.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51585#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list