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

Build a zip file when creating a new release on GitHub, then upload it. #18

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Hug0-Drelon
Copy link
Member

@Hug0-Drelon Hug0-Drelon commented Oct 11, 2023

What?

All is in the title.

How?

  • Create a new workflow to build and upload the zip corresponding to the new release. Zip build also available on demand but without release upload.
    • Set up Node and PHP, then install production dependencies.
    • Uses 10up/action-wordpress-plugin-deploy to build the zip.
    • Upload zip from the created artifact to the release assets if current event allows it.
  • Add a .distignore to remove unwanted files from the zip.

Note: for now the workflow doesn't commit to the SVN repo, this is a first step to create a release before updating wp.org.

@Hug0-Drelon Hug0-Drelon self-assigned this Oct 11, 2023
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

Successfully merging this pull request may close these issues.

1 participant