Skip to content
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

Version handling for releases from GitHub #23

Open
RobjS opened this issue Oct 31, 2024 · 0 comments
Open

Version handling for releases from GitHub #23

RobjS opened this issue Oct 31, 2024 · 0 comments

Comments

@RobjS
Copy link

RobjS commented Oct 31, 2024

Following the move to releasing on GitHub rather the WordPress directory, I was curious how version releases will work.

The instructions in the README say to install the latest version of the master branch:

https://github.com/billerickson/be-media-from-production/archive/master.zip --force --activate

However, unless every commit to master is marked as a new version (which hasn't been the case in the commit history to date), it seems like this could result in a number of commits could be marked as having the same version, i.e. one site's vX.Y won't necessarily be identical to another's, if they were installed at different times.

Could this be solved by e.g. using a latest tag which points to the commit for the latest formal release, so therefore should always be available from https://github.com/billerickson/be-media-from-production/archive/refs/tags/latest.zip? Then that tag could just be moved once a new release was ready. Historical releases could also be made available from https://github.com/billerickson/be-media-from-production/archive/refs/tags/[vX.Y].zip if they were also tagged with the appropriate version.

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

No branches or pull requests

1 participant