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

[Feature] Recipe for github release #202

Open
pentatonicfunk opened this issue Jan 29, 2022 · 5 comments
Open

[Feature] Recipe for github release #202

pentatonicfunk opened this issue Jan 29, 2022 · 5 comments

Comments

@pentatonicfunk
Copy link

Describe the solution you'd like
Probably using github workflow for release assets ? to build installable ZIP plugin

Additional context
Basically after initiating the boilerplate, then develop, what im lost is how can i release it to Github, as Github release. Guide / recipe that can integrate with wp.org svn might be cool too

@Mte90
Copy link
Member

Mte90 commented Jan 31, 2022

There are various GH action already available for that https://github.com/marketplace/actions/wordpress-plugin-svn-deploy

Probably aren't enough as it is missing the composer part but yes is something if there is interest I can add.

@cfgs
Copy link

cfgs commented Mar 22, 2022

Some sort of documentation on how to take the plugin to production would be nice! How to generate a .zip-file with necessary files, which is ready to be uploaded to the plugin section of WordPress.

@Mte90
Copy link
Member

Mte90 commented Mar 22, 2022

Some sort of documentation on how to take the plugin to production would be nice! How to generate a .zip-file with necessary files, which is ready to be uploaded to the plugin section of WordPress.

For this kind of documentation you need to check the official documentation https://developer.wordpress.org/plugins/wordpress-org/ it is outside the scope of the boilerplate.

@Ryvix
Copy link
Contributor

Ryvix commented Jul 12, 2022

I'm going to have to agree. We could really use an automatic method of generating a final version of the plugin ready for installing and more instructions on how to actually publish the plugin.

There are a lot of extra things in this system that I've never used before and don't understand fully even after reading for hours and spending days playing around with it all. I've been testing various systems and frameworks and things to make plugin development easier and this seems like it has a lot of really great things but is still missing some vital parts making it difficult to actually use.

You may say this is really just a boilerplate and not exactly a framework and maybe you deem it out of it's scope but this entire system seems very promising and I really appreciate the work that has gone into it. However due to it's complexity I feel like it could use some more detailed documentation or at least steps in a guide on producing the ultimate goal which is of course an installable and publishable plugin. I know time is limited and writing documentation can suck but if we, the users of your work, just had a little more info on where to go next then it would make it so much easier for us and I think more people would be able to use it.

I strongly believe that a simple command to build a publishable final zip file and folder would be a very good addition. I would like to suggest checking out how WP Emerge does it as that may be a good way to do it. They have an extra release command in the package.json which creates a new folder and copies all the necessary files to it and makes a zip out of it. The issue I have with that framework, while it is very awesome, is that it doesn't seem to work very well with the latest version of WP and the author said they are spread too thin and haven't been able to work on it much lately. Perhaps it could give you some ideas.

@Mte90
Copy link
Member

Mte90 commented Jul 12, 2022

My opinion on publishing on the repo is that not so simple based on the needs.
About that topic there are a lot of external resources like https://github.com/sudar/wp-plugin-in-github or the official documentation https://developer.wordpress.org/plugins/wordpress-org/ because you need to know how works the wordpress repository anyway.

On official wp repo it is used svn in a specific way and there are a lot of tools, ci, action and so on to deploy it (a search on internet it will show it) so I am not comfortable to suggest one and give support for that...

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

4 participants