-
Notifications
You must be signed in to change notification settings - Fork 19
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
187 Release action #240
187 Release action #240
Conversation
|
@johnhooks right now I'm thinking that on tag, we should checkout the code, build, remove certain folders (e.g. node_modules, .github), and then zip. Then create a new release and attach using https://github.com/softprops/action-gh-release |
Sounds like a solid plan to me. I'm working on a WordPress Playground, it could be redeployed in this same workflow. Aside: It will be nice to have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Sephsekla This looks great.
Is the PHP environment setup required to properly build the release? As far as I can tell it isn't, but wanted to double check.
At the moment we only use composer for devDependencies and testing, so it shouldn't be necessary for release. That might change in future though, we'll need to keep an eye out. |
What?
Create a GitHub action to create a release for a tag, and upload asset files.
Why?
Resolves #187
How?
This PR creates a new GitHub workflow, which will run when a tag is created:
Testing Instructions
Screenshots or screencast