Releases: 10up/action-wordpress-plugin-deploy
Releases · 10up/action-wordpress-plugin-deploy
2.2.2
Fixed
- Ensure the deploy action works properly when a
.distignore
file is not present (props @iamdharmesh, @dkotter via #137).
Full Changelog: 2.2.1...2.2.2
View closed items in the milestone.
2.2.1
Fixed
- Ensure built files are included when used without a
BUILD_DIR
and.distignore
file (props @akirk, @iamdharmesh via #130). - Ensure a zip is generated when an existing version is found and the
generate-zip
input is set totrue
(props @sy-records, @faisal-alvi via #133).
New Contributors
- @akirk made their first contribution in #130
- @sy-records made their first contribution in #133
Full Changelog: 2.2.0...2.2.1
View closed items in the milestone.
2.2.0
Added
DRY RUN
mode support that can be used while testing this action (props @mukeshpanchal27, @joemcgill, @felixarntz, @jeffpaul, @aaemnnosttv, @dkotter, @stephywells via #122, #127).- Release workflow automation (props @dinhtungdu, @Sidsector9 via #107).
Changed
- Generated zip now stores files with relative path for WP installation consistency (props @JasonTheAdams, @helen, @dinhtungdu, @iamdharmesh, @dkotter, @shivapoudel via #72).
- Documentation updates (props @UVLabs, @jeffpaul, @mukeshpanchal27, @10upsimon, @joemcgill via #115, #120).
Fixed
- Replaced the deprecated
set-output
command with redirection to$GITHUB_OUTPUT
(props @sjinks, @dkotter, @cadic via #108). - Detected dubious ownership issue for github workspace (props @rahulsprajapati, @dkotter, @Stiofan via #119).
- Stop attempting to re-publish the same version of a plugin (props @mukeshpanchal27, @joemcgill, @felixarntz, @faisal-alvi via #124).
New Contributors
- @sjinks made their first contribution in #108
- @JasonTheAdams made their first contribution in #72
- @mukeshpanchal27 made their first contribution in #120
- @rahulsprajapati made their first contribution in #119
- @UVLabs made their first contribution in #115
- @github-actions made their first contribution in #129
Full Changelog: 2.1.1...2.2.0
View all items in the 2.2.0 milestone.
2.1.1
Fixed
- Resolve SVN commit failed: Directory out of date (props @richard-muvirimi via #96)
- Failure to set assets mime-type with
svn propset
(props @diddledani via #99)
GH milestone: https://github.com/10up/action-wordpress-plugin-deploy/milestone/8?closed=1
2.1.0
Added
- Mime type change to image/gif for .gif files (props @doekenorg via #76).
- Environment variable (BUILD_DIR) to deploy plugin files built into a custom directory (props @dinhtungdu via #83 and #86).
Fixed
- Set correct mime type for for .svg files (props @andrewheberle via #78).
- SVN error when plugin doesn't have an image (props @Lewiscowles1986 via #82).
2.0.0 - Now a Composite Action!
This is now a composite Action, meaning that it runs directly on the GitHub Actions runner rather than spinning up its own container and is significantly faster.
Added
Fixed
1.5.0
Added
- Add optional ZIP file generation from SVN trunk to match content on WordPress.org. Props @shivapoudel via #37.
- Add example workflow file to attach the ZIP file to a GitHub release. Props @helen via #42.
- Set mime types on images in the SVN
assets
directory to prevent forced downloads on WordPress.org. Props @nextgenthemes via #40.
https://github.com/10up/action-wordpress-plugin-deploy/milestone/4?closed=1
1.4.1
Fixed
- Ensure previously committed files that are later added to
.distignore
get deleted. Props @pascalknecht via #26. - Escape filenames to avoid errors with filenames containing an
@
symbol. Props @Gaya via #22. - Use parameter expansion instead of
sed
to removev
from version numbers. Props @szepeviktor via #24. - Use
https
for WordPress.org URLs. Props @dinhtungdu via #28. - Correct encrypted secrets documentation link. Props @felipeelia via #20.
1.4.0
- Added: Strip leading
v
off of tag name if present, as it is remains common practice with Git tags. - Fixed: Avoid failure if no assets directory exists.
https://github.com/10up/action-wordpress-plugin-deploy/milestone/1?closed=1
1.3.0
- Added the ability to use
.distignore
to exclude files from deployment instead of.gitattributes
, which works better when a build step is included. Props @LeoColomb via #3, with additional thanks to @markjaquith for consultation. - Removed unnecessary
GITHUB_TOKEN
check/requirement.