Add GitHub workflow for automatic plugin releases#60
Merged
superdav42 merged 2 commits intoUltimate-Multisite:mainfrom Apr 24, 2025
Merged
Add GitHub workflow for automatic plugin releases#60superdav42 merged 2 commits intoUltimate-Multisite:mainfrom
superdav42 merged 2 commits intoUltimate-Multisite:mainfrom
Conversation
superdav42
requested changes
Apr 19, 2025
Collaborator
superdav42
left a comment
There was a problem hiding this comment.
Let's set it to draft and prerelease at least until I'm confident it's going to work correctly. Do you know a way to test it without merging it first?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add GitHub Workflow for Automatic Plugin Releases
Description
This PR adds a GitHub Actions workflow that automatically builds and releases the plugin when a new tag is pushed to the repository. This simplifies the release process and ensures consistent builds.
Changes Made
.github/workflows/release.ymlwith the release workflow configuration.github/workflows/README.mdto include documentation about the release workflowHow It Works
v*.*.*), the workflow is triggerednpm run buildUsage
To create a new release:
Update the version number in:
wp-multisite-waas.php(theVersion:header)readme.txt(theStable tag:field)package.json(theversionfield)Commit these changes
Create and push a new tag:
The workflow will automatically create a release with the built plugin
Note on Previous PR
This PR is a focused version of PR #26, which included many additional files and changes. Based on the discussion in PR #26, I've created this new PR with only the essential files needed for the GitHub workflow for automatic plugin releases.