You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-7Lines changed: 34 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ If you want to use this repository, follow the following steps to compile
51
51
2. Install [Composer](https://getcomposer.org) on your local machine
52
52
3. Run the `composer update` command in the downloaded folder. This will generate a `vendor` folder and install all required dependencies and libraries.
53
53
4. Ensure the folder and its contents are located at the `./wp-content/plugins/bluem-woocommerce` path. (You could also compress the contents of this folder into a ZIP file and upload this into your site).
54
-
5. Your plug-in should now be visible within your WordPress plugin list. Activate the plug-in from this page
54
+
5. Your plug-in should now be visible within your WordPress plug-in list. Activate the plug-in from this page
55
55
56
56
If possible, please run the installation procedure on a testing environment first, before installing the plug-in in a development environment.
57
57
@@ -262,12 +262,39 @@ If you have any questions, please email [pluginsupport@bluem.nl](mailto:pluginsu
262
262
263
263
# Releasse plan
264
264
To actually release a new version, follow these steps:
265
-
266
-
1. Update the WordPress plugin version in the `bluem.php` file
267
-
2. Update the `readme.txt` file with the new version number and changelog
268
-
3. Commit the changes with a message like "Release version X.X.X"
269
-
4. Push those changes to the `master` branch
270
-
5. Run the command below to prepare the deployment files into the build directory and clean out any non-production files
265
+
> Ensure you have SVN & Composer installed globally on your local machine.
266
+
267
+
> To get started with the SVN, set up a folder with all existing files, checkout the SVN folder using the command below:
268
+
> ```bash
269
+
> make get-fresh-svn
270
+
>```
271
+
272
+
1. Determine the new version of the plug-in, using [semantic versioning](https://semver.org/).
273
+
2. Update the WordPress plug-in version in the `bluem.php` file
274
+
3. Update the `readme.txt` file with the new version number and changelog
275
+
4. Update the changelog in the `readme.txt` file with the new version number and a summary of changes. These changes will also show up in the WordPress plug-in directory.
276
+
5. Commit the changes with a message like "Release version X.X.X" where the X's are your new version tag.
277
+
6. Push those changes to the `master` branch through a PR with review procedure.
278
+
7. Run the command below to prepare the deployment files into the build directory and clean out any non-production files
271
279
```bash
272
280
make pre-deployment
273
281
```
282
+
8. Copy these changes into the SVN directory in two places: the tags folder with your new tag and the trunk folder (which always contains the latest version). Use these commands to help you:
283
+
1. Copying the files to the tags folder:
284
+
```bash
285
+
make add-tag NEW_TAG=1.3.27
286
+
```
287
+
2. Copying the files to the trunk folder:
288
+
```bash
289
+
make update-trunk NEW_TAG=1.3.27
290
+
```
291
+
3. Commit the changes to the SVN repository:
292
+
```bash
293
+
make commit-to-svn NEW_TAG=1.3.27
294
+
```
295
+
This command will commit the changes to the SVN repository, including the new tag and trunk updates.
296
+
> Note: this command will also automatically update the `readme.txt` file in the SVN repository with the new version number and changelog.
297
+
> It can take a little while before files are all committed.
298
+
9. After the commit is successful, you can check the SVN repository to ensure that the new tag and trunk updates are present.
299
+
10. The plug-in is now available in the WordPress plug-in directory and can be installed by users.
0 commit comments