All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
Unreleased - TBD
2.2.2 - 2023-09-07
- Ensure the deploy action works properly when a
.distignore
file is not present (props @iamdharmesh, @dkotter via #137).
2.2.1 - 2023-09-05
- 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).
2.2.0 - 2023-05-18
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).
- 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).
- 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).
2.1.1 - 2022-08-15
- Resolve SVN commit failed: Directory out of date (props @dinhtungdu, @richard-muvirimi via #96).
- Failure to set assets mime-type with
svn propset
(props @diddledani, @dinhtungdu via #99).
2.1.0 - 2022-04-12
- 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).
- 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 - 2021-08-16
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.
1.5.0 - 2020-05-27
- 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).
1.4.1 - 2020-03-12
- 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 - 2019-10-21
- Strip leading
v
off of tag name if present, as it is remains common practice with Git tags.
- Avoid failure if no assets directory exists.
1.3.0 - 2019-08-30
- 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.
1.2.1 - 2019-08-22
- Use more robust method of copying files (
-c
flag forrsync
).