@@ -17,13 +17,13 @@ server releases. It is organized in the following way:
1717* To create a source archive and all supported packages, with a given version:
1818
1919 ```
20- make packages PROJECT_VERSION=3.8.1 -rc.1
20+ make packages PROJECT_VERSION=3.13.0 -rc.3
2121 ```
2222
2323* To create all suported packages from an existing source archive:
2424
2525 ```
26- make -C packaging SOURCE_DIST_FILE=/path/to/rabbitmq-server-3.8.1 -rc.1 .tar.xz
26+ make -C packaging SOURCE_DIST_FILE=/path/to/rabbitmq-server-3.13.0 -rc.3 .tar.xz
2727 ```
2828
2929The standalone package is different because it embeds the build
@@ -35,7 +35,7 @@ build host:
3535```
3636make package-standalone-macosx
3737# or
38- make -C packaging package-standalone-macosx SOURCE_DIST_FILE=/path/to/rabbitmq-server-3.8.1 -rc.1 .tar.xz
38+ make -C packaging package-standalone-macosx SOURCE_DIST_FILE=/path/to/rabbitmq-server-3.13.0 -rc.3 .tar.xz
3939```
4040
4141The instructions in the [`PKG_LINUX.md`](PKG_LINUX.md) document include a
@@ -57,7 +57,7 @@ based on the last tag and the current HEAD.
5757
5858Here is an example with an explicit version:
5959```
60- make source-dist PROJECT_VERSION=3.8.1 -rc.1
60+ make source-dist PROJECT_VERSION=3.13.0 -rc.3
6161```
6262
6363The version is automatically propagated to the broker and plugins so
@@ -66,7 +66,7 @@ they all advertise the same version.
6666The result is then available in the `PACKAGES` subdirectory. You can
6767override the output directory with the `PACKAGES_DIR` variable:
6868```
69- make source-dist PROJDCT_VERSION=3.8.1 -rc.1 \
69+ make source-dist PROJDCT_VERSION=3.13.0 -rc.3 \
7070 PACKAGES_DIR=/tmp
7171```
7272
@@ -77,7 +77,7 @@ By default, two archives are produced:
7777You can ask for more/different types by specifying the
7878`SOURCE_DIST_SUFFIXES` variable:
7979```
80- make source-dist PROJECT_VERSION=3.8.1 -rc.1 \
80+ make source-dist PROJECT_VERSION=3.13.0 -rc.3 \
8181 SOURCE_DIST_SUFFIXES='tar.xz tar.gz'
8282```
8383
@@ -95,7 +95,7 @@ list of plugins is in the `plugins.mk` file.
9595You can override this list by setting the `PLUGINS` variable to the list
9696you want:
9797```
98- make source-dist PROJECT_VERSION=3.8.1 -rc.1 \
98+ make source-dist PROJECT_VERSION=3.13.0 -rc.3 \
9999 PLUGINS='rabbitmq_shovel rabbitmq_rabbitmq_shovel_management'
100100```
101101
@@ -122,7 +122,7 @@ This has the following rules:
122122If you want the source archive to be created automatically, use the
123123top-level `Makefile`:
124124```
125- make package-$type PROJECT_VERSION=3.8.1 -rc.1 ...
125+ make package-$type PROJECT_VERSION=3.13.0 -rc.3 ...
126126```
127127
128128Packages are written to `PACKAGES_DIR`, like the source archive.
@@ -146,7 +146,7 @@ with the `VERSION` variable:
146146```
147147make -C packaging package-generic-unix \
148148 SOURCE_DIST_FILE=rabbitmq-server.tar.xz \
149- VERSION=3.8.1 -rc.1
149+ VERSION=3.13.0 -rc.3
150150```
151151
152152### Debian package
@@ -166,18 +166,18 @@ with the `VERSION` variable:
166166```
167167make -C packaging package-deb \
168168 SOURCE_DIST_FILE=rabbitmq-server.tar.xz \
169- VERSION=3.8.1 -rc.1
169+ VERSION=3.13.0 -rc.3
170170```
171171
172172By default, the package version is converted from `VERSION` with
173- all `-` characters replaced by `~` (eg. `3.8.1 ~rc.1` in the example
173+ all `-` characters replaced by `~` (eg. `3.13.0 ~rc.1` in the example
174174above). If you want to override that conversion, you can specify the
175175`DEBIAN_VERSION` variable:
176176```
177177make -C packaging package-deb \
178178 SOURCE_DIST_FILE=rabbitmq-server.tar.xz \
179- VERSION=3.8.1 -rc.1
180- DEBIAN_VERSION=3.8.1 ~ rc.1
179+ VERSION=3.13.0 -rc.3
180+ DEBIAN_VERSION=3.13.0 ~ rc.1
181181```
182182
183183### RPM package
@@ -242,12 +242,12 @@ make -C packaging/windows-exe ZIP=/path/to/rabbitmq-server-windows.zip
242242
243243By default, the *product version* is the project version where
244244everything following the third integer was replaced by `.0`. Thus it's
245- only fine if the version is a semver-based version (eg. 3.8.1 -pre.3 or
245+ only fine if the version is a semver-based version (eg. 3.13.0 -pre.3 or
2462463.8.2). If the version doesn't conform to that, you need to set the
247247`PRODUCT_VERSION` variable:
248248
249249```
250- make package-windows PROJECT_VERSION=3.8.1 -rc.1 PRODUCT_VERSION=3.8.1 .0
250+ make package-windows PROJECT_VERSION=3.13.0 -rc.3 PRODUCT_VERSION=3.13.0 .0
251251```
252252
253253To build the Windows package using a Windows machine, follow the
@@ -297,8 +297,8 @@ However, be careful with the versioning! Because all package have
297297incompatible requirements, you can only use a version with 3 integers
298298(like a final semver-based version):
299299```
300- make packages PROJECT_VERSION=3.8.1
301- make -C packaging packages SOURCE_DIST_FILE=rabbitmq-server-3.8.1 .tar.xz
300+ make packages PROJECT_VERSION=3.13.0
301+ make -C packaging packages SOURCE_DIST_FILE=rabbitmq-server-3.13.0 .tar.xz
302302```
303303
304304If you do not follow that rule, the build will fail one way or another;
@@ -309,5 +309,5 @@ Another possibility is to specify the Windows *product version* and
309309rely on automatic conversion for Debian and RPM packages (or use the
310310`DEBIAN_VERSION` and `RPM_VERSION` variables), but this is untested:
311311```
312- make packages PROJECT_VERSION=3.8.1 -rc.1 PRODUCT_VERSION=3.8.1 .0
312+ make packages PROJECT_VERSION=3.13.0 -rc.3 PRODUCT_VERSION=3.13.0 .0
313313```
0 commit comments