Skip to content

Commit

Permalink
Merge pull request #905 from publishpress/release-v2.10.0
Browse files Browse the repository at this point in the history
Release v2.10.0
  • Loading branch information
olatechpro authored Sep 6, 2023
2 parents b980fe6 + 13e885f commit d78fafc
Show file tree
Hide file tree
Showing 107 changed files with 9,281 additions and 1,266 deletions.
63 changes: 0 additions & 63 deletions .builder-rsync-filters

This file was deleted.

73 changes: 73 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# A set of files you probably don't want in your WordPress.org distribution
*.code-workspace
*.sql
*.tar.gz
*.zip
.DS_Store
.babelrc
.distignore
.editorconfig
.env.testing
.env.testing.dist
.env.testing.linux.dist
.env.testing.mac.dist
.eslintrc.js
.git
.gitattributes
.github
.gitignore
.idea
.php-cs-fixer.cache
.phpcs.xml
.phplint-cache
.phplint.yml
.rsync-filters-post-build
.rsync-filters-pro-build
.travis.yml
.vscode
.wordpress-org
/assets_wp
/dev-workspace
/dist
/version.txt
/webpack.config.js
/yarn.lock
CONTRIBUTING.md
Gruntfile.js
README-build.md
README.md
RoboFile.php
Thumbs.db
/assets/jsx
/assets_wp
bin
build.xml
builder
builder.yml
builder.yml.dist
codeception.dist.yml
composer.json
composer.lock
cs
cypress
cypress.json
/dist
jest.config.js
jest.config.ts
jsconfig.json
mix-manifest.json
node_modules
package-lock.json
package.json
phpcs.xml
phpunit.xml
psalm.xml
ray-dist.php
ray.php
screenshot-*.png
/scripts
tailwind.config.js
tests
/vendor
webpack.config.js
webpack.mix.js
46 changes: 27 additions & 19 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
.babelrc export-ignore
.distignore export-ignore
.DS_Store export-ignore
.editorconfig export-ignore
.git export-ignore
.gitattributes export-ignore
.github export-ignore
.gitignore export-ignore
.gitlab-ci.yml export-ignore
.phplint.yml export-ignore
.travis.yml export-ignore
.vscode export-ignore
*.bash export-ignore
*.cache export-ignore
*.code-workspace export-ignore
Expand All @@ -21,19 +9,39 @@
*.tar.gz export-ignore
*.testing export-ignore
*.zip export-ignore
.DS_Store export-ignore
.babelrc export-ignore
.distignore export-ignore
.editorconfig export-ignore
.git export-ignore
.gitattributes export-ignore
.github export-ignore
.gitignore export-ignore
.gitlab-ci.yml export-ignore
.phpcs.xml export-ignore
.phplint.yml export-ignore
.rsync-filters-post-build export-ignore
.rsync-filters-pre-build export-ignore
.travis.yml export-ignore
.vscode export-ignore
/assets_wp export-ignore
/dev-workspace export-ignore
/dist export-ignore
/screenshot-*.png export-ignore
/tests export-ignore
Gruntfile.js export-ignore
Gruntfile.js export-ignore
README.md export-ignore
RoboFile.php export-ignore
Thumbs.db export-ignore
behat.yml export-ignore
bin export-ignore
builder.yml export-ignore
circle.yml export-ignore
codeception.yml export-ignore
composer.json export-ignore
composer.lock export-ignore
docker-compose.yml export-ignore
Gruntfile.js export-ignore
Gruntfile.js export-ignore
jest.config.js export-ignore
jest.config.ts export-ignore
jsconfig.json export-ignore
multisite.xml export-ignore
multisite.xml.dist export-ignore
Expand All @@ -47,8 +55,8 @@ phpmd.xml export-ignore
phpunit.xml export-ignore
phpunit.xml.dist export-ignore
psalm.xml export-ignore
README.md export-ignore
RoboFile.php export-ignore
Thumbs.db export-ignore
webpack.config.js export-ignore
wp-cli.local.yml export-ignore
webpack.common.js export-ignore
webpack.dev.js export-ignore
webpack.prod.js export-ignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
labels: 'unconfirmed bug'
assignees: ''

---

Your issue may already be reported!
Please search on the [issue track](../) before creating one.
<!--- Your issue may already be reported!
Please search on the [issue track](../) before creating one. -->

## Expected Behavior

Expand Down
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

60 changes: 33 additions & 27 deletions .github/ISSUE_TEMPLATE/release-free-plugin.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,43 @@
---
name: Release the Free version (team only)
about: Describes default checklist for the plugin's release process.
title: Release v[VERSION]
name: Release the Free Version (Team Only)
about: Default checklist for the plugin's release process.
title: Release PublishPress Capabilities v[VERSION]
labels: release
assignees: ''

---

To release the Free plugin please make sure to check all the checkboxes below.
To release the Free plugin, ensure you complete all the tasks below.

### Pre-release Checklist

- [ ] Create the release branch as `release-<version>` based on the development branch
- [ ] Make sure to directly merge or use Pull Requests to merge hotfixes or features branches into the release branch
- [ ] Run `composer update` and check if there is any relevant update. Check if you need to lock the current version for any dependency. The `--no-dev` argument is optional here, since the build script will make sure to run the build with that argument.
- [ ] Update the changelog - make sure all the changes are there with a user-friendly description and that the release date is correct
- [ ] Update the version number to the next stable version. Use `$ vendor/bin/robo version <version-number>`
- [ ] Commit the changes to the release branch
- [ ] Build the zip package using `$ vendor/bin/robo build`. It should create a package in the `./dist` dir.
- [ ] Send to the team for testing
- [ ] Create a release branch named `release-<version>` from the development branch.
- [ ] Review and merge all relevant Pull Requests into the release branch.
- [ ] Start a dev-workspace session.
- [ ] Execute `composer update` to update the root and lib vendors.
- [ ] Review the updated packages. Mention any production library updates in the changelog.
- [ ] Inspect GitHub's Dependabot warnings or Pull Requests for relevant issues. Resolve any false positives first, then fix and commit the remaining issues.
- [ ] If necessary, build JS files for production using `composer build:js` and commit the changes.
- [ ] Run a WP VIP scan with `composer check:phpcs` to ensure no warnings or errors greater than 5 exist.
- [ ] Update the `.pot` file executing `composer gen:pot` and include a note in the changelog.
- [ ] Especially for minor and patch releases, maintain backward compatibility for changes like renamed or moved classes, namespaces, functions, etc. Include deprecation comments and mention this in the changelog. Major releases may remove deprecated code, but always note this in the changelog.
- [ ] Revise the changelog to include all changes with user-friendly descriptions and ensure the release date is accurate.
- [ ] Update the version number in the main plugin file and `readme.txt`, adhering to specifications from our [tech documentation](https://rambleventures.slab.com/posts/version-numbers-58nmrk4b), and commit to the release branch.
- [ ] Confirm there are no uncommitted changes.
- [ ] Build the zip package with `composer build`, creating a new package in the `./dist` directory.
- [ ] Distribute the new package to the team for testing.

### Release Checklist
- [ ] Create and merge a Pull Request for the release branch into the `main` branch.
- [ ] Merge the `main` branch into the `development` branch.
- [ ] Establish the GitHub release on the `main` branch with the correct tag.

- [ ] Create a Pull Request and merge the release branch it into the `master` branch
- [ ] Merge the `master` branch into the `development` branch
- [ ] Create the Github release (make sure it is based on the `master` branch and correct tag)

#### SVN Repo
- [ ] Cleanup the `trunk` directory.
- [ ] Unzip the built package and move files to the `trunk`
- [ ] Remove any eventual file that shouldn't be released in the package (if you find anything, make sure to create an issue to fix the build script)
- [ ] Look for new files `$ svn status | grep \?` and add them using `$ svn add <each_file_path>`
- [ ] Look for removed files `$ svn status | grep !` and remove them `$ svn rm <each_file_path>`
- [ ] Create the new tag `$ svn cp trunk tags/<version>`
- [ ] Commit the changes `$ svn ci -m 'Releasing <version>'`
- [ ] Wait until WordPress updates the version number and make the final test updating the plugin in a staging site
#### WP SVN Deployment
- [ ] Navigate to the local copy of the SVN repo for the plugin.
- [ ] Update your working copy using `svn update`.
- [ ] Clear the `trunk` directory with `rm -rf trunk/*`.
- [ ] Unzip the built package and transfer files to the `trunk` folder.
- [ ] Remove any extraneous files (if found, create an issue to amend the `.rsync-filter-post-build` file). Keep only files really used on production.
- [ ] Find new files with `svn status | grep \?` and add them using `svn add <each_file_path>`.
- [ ] Identify removed files with `svn status | grep !` and delete them using `svn rm <each_file_path>`.
- [ ] Create the new tag using `svn cp trunk tags/<version>`.
- [ ] Commit the changes with `svn ci -m 'Releasing <version>'`.
- [ ] Await WordPress's version number update and perform a final test by updating the plugin on a staging site.
48 changes: 28 additions & 20 deletions .github/ISSUE_TEMPLATE/release-pro-plugin.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,38 @@
---
name: Release the Pro version (team only)
about: Describes default checklist for releasing the Pro plugin;
title: Release Pro v[VERSION]
name: Release the Pro Version (Team Only)
about: Default checklist for the plugin's release process.
title: Release PublishPress Capabilities Pro v[VERSION]
labels: release
assignees: ''

---

To release the Pro plugin please make sure to check all the checkboxes below.
To release the Pro plugin, ensure you complete all the tasks below.

### Pre-release Checklist

- [ ] Create the release branch as `release-<version>` based on the development branch
- [ ] Make sure to directly merge or use Pull Requests to merge hotfixes or features branches into the release branch
- [ ] Clone free version shared file to pro version
- [ ] Run `composer update` and check if there is any relevant update. Check if you need to lock the current version for any dependency. The `--no-dev` argument is optional here, since the build script will make sure to run the build with that argument.
- [ ] Update the changelog - make sure all the changes are there with a user-friendly description and that the release date is correct
- [ ] Update the version number to the next stable version. Use `$ vendor/bin/robo version <version-number>`
- [ ] Commit the changes to the release branch
- [ ] Build the zip package using `$ vendor/bin/robo build`. It should create a package in the `./dist` dir.
- [ ] Send to the team for testing
- [ ] Create a release branch named `release-<version>` from the development branch.
- [ ] Review and merge all relevant Pull Requests into the release branch.
- [ ] Start a dev-workspace session.
- [ ] Verify the correct version of the free plugin is referenced in the `lib/composer.json` file. Prefer stable versions.
- [ ] Execute `composer update` to update the root and lib vendors.
- [ ] Review the updated packages and mention any production library updates in the changelog.
- [ ] Check if all dependencies are synced from Free into the Pro plugin with `composer check:deps`. If required, merge dependencies using `composer fix:deps` and run `composer update` again.
- [ ] Check if the free plugin uses Composer's autoload and copy the autoload definition from the free plugin to the pro plugin refactoring the relative paths, on `/lib/composer.json`. Execute `composer dumpautoload` to update the autoload files. Commit the changes.
- [ ] Inspect GitHub's Dependabot warnings or Pull Requests for relevant issues. Resolve any false positives first, then fix and commit the remaining issues.
- [ ] If necessary, build JS files for production using `composer build:js` and commit the changes.
- [ ] Run a WP VIP scan with `composer check:phpcs` to ensure no warnings or errors greater than 5 exist.
- [ ] Update the `.pot` file executing `composer gen:pot` and include a note in the changelog.
- [ ] Especially for minor and patch releases, maintain backward compatibility for changes like renamed or moved classes, namespaces, functions, etc. Include deprecation comments and mention this in the changelog. Major releases may remove deprecated code, but always note this in the changelog.
- [ ] Revise the changelog to include all changes with user-friendly descriptions and ensure the release date is accurate.
-- [ ] Update the version number in the main plugin file and `readme.txt`, adhering to specifications from our [tech documentation](https://rambleventures.slab.com/posts/version-numbers-58nmrk4b), and commit to the release branch.
- [ ] Confirm there are no uncommitted changes.
- [ ] Build the zip package with `composer build`, creating a new package in the `./dist` directory.
- [ ] Distribute the new package to the team for testing.

### Release Checklist
- [ ] Create and merge a Pull Request for the release branch into the `main` branch.
- [ ] Merge the `main` branch into the `development` branch.
- [ ] Establish the GitHub release on the `main` branch with the correct tag.

- [ ] Create a Pull Request and merge the release branch it into the `master` branch
- [ ] Merge the `master` branch into the `development` branch
- [ ] Create the Github release (make sure it is based on the `master` branch and correct tag)
- [ ] Update EDD registry and upload the new package
- [ ] Make the final test updating the plugin in a staging site
#### PublishPress.com Deployment
- [ ] Update the EDD registry on the Downloads menu, uploading the new package.
- [ ] Perform a final test by updating the plugin on a staging site.
Loading

0 comments on commit d78fafc

Please sign in to comment.