Skip to content

Commit 7cb8949

Browse files
committed
Merge branch 'master' into develop
2 parents 8b08f97 + 64a9230 commit 7cb8949

File tree

13 files changed

+60
-49
lines changed

13 files changed

+60
-49
lines changed

BUILD.md

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -5,57 +5,56 @@
55
Convex main repository is structured as a multi-module Maven project.
66

77

8-
## Build and test
9-
10-
### Merge
11-
12-
- Merge from `master` branch, ensure in sync
13-
- Merge any other branches for release
8+
## Release preparation
149

1510
### Ensure clean build
1611

1712
```
18-
mvn clean package
13+
mvn -B clean verify
1914
```
2015

2116
Remember to test headless (i.e. no GUI) e.g. with CI server.
2217

23-
## Release preparation
24-
25-
### Set version information
26-
27-
First set the version number for the new version to be released
28-
29-
```
30-
mvn versions:set -DnewVersion='0.8.0' -DartifactId=* -DgroupId=*
31-
```
32-
3318
### Update CHANGELOG
3419

35-
Need to make sure `CHANGELOG.md` is fully up to date before deploy
20+
Make sure `CHANGELOG.md` is fully up to date before deploy
3621

3722
- Finalise CHANGELOG for current version
3823
- Annotate with date
3924
- Commit to release branch
4025

26+
### Merge to master
4127

42-
### Build and deploy
28+
Switch to `master` branch.
29+
30+
Merge `develop` as a merge commit (“If a fast-forward, create a merge commit” in Eclipse)
31+
32+
### Set version information
33+
34+
Set the version number for the new version to be released
4335

4436
```
45-
mvn clean deploy -DperformRelease
37+
mvn versions:set -DnewVersion='0.8.2' -DartifactId=* -DgroupId=*
4638
```
4739

40+
Commit as "Prepare for Release 0.8.2"
41+
4842
### Tag release
4943

50-
- Merge to `master` branch
51-
- Tag Release Commit on merge
52-
- Push to GitHub!
44+
- Tag Release Commit e.g. `0.8.2`
45+
46+
### Build and deploy
47+
48+
```
49+
mvn -B clean verify
50+
mvn deploy -Prelease
51+
```
5352

5453
### Prepare for next develop version
5554

56-
- Merge `master` back into `develop`
55+
- Merge `master` back into `develop` (again no FF)
5756
- Create new CHANGELOG "Unreleased" section for next version
58-
- Run `mvn versions:set -DnewVersion='0.7.4-SNAPSHOT'` for next snapshot version as required
57+
- Run `mvn versions:set -DnewVersion='0.8.3-SNAPSHOT'` for next snapshot version as required
5958

6059
## Docker build
6160

convex-benchmarks/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>world.convex</groupId>
66
<artifactId>convex</artifactId>
7-
<version>0.8.2-SNAPSHOT</version>
7+
<version>0.8.2</version>
88
</parent>
99

1010
<modelVersion>4.0.0</modelVersion>

convex-cli/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<parent>
33
<groupId>world.convex</groupId>
44
<artifactId>convex</artifactId>
5-
<version>0.8.2-SNAPSHOT</version>
5+
<version>0.8.2</version>
66
</parent>
77
<modelVersion>4.0.0</modelVersion>
88

convex-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>world.convex</groupId>
66
<artifactId>convex</artifactId>
7-
<version>0.8.2-SNAPSHOT</version>
7+
<version>0.8.2</version>
88
</parent>
99

1010
<properties>

convex-core/src/main/java/convex/core/data/package-info.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
* required to implement immutable, decentralised data objects.
44
*
55
* * <p>This package defines the immutable persistent data types that represent
6-
* all values in the CVM, including {@link CVMLong}, {@link Address}, {@link Blob},
7-
* {@link AVector}, {@link AMap}, etc. All classes implement the {@link ADataType}
6+
* all values in the CVM, including CVMLong, Address, Blob,
7+
* AVector, AMap, etc. All classes extend the ACell
88
* hierarchy and are designed for structural sharing and cryptographic hashing via CAD3 encodings.</p>
99
*
1010
* <p>

convex-core/src/main/java/convex/core/util/CAIP.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static ACell parseAssetID(AString assetID) {
7171
* Gets the asset ID for a CAD29 token from a CAPI-19 string
7272
* @param caip19 CAIP19 Format asset ID, e.g. "cad29:72"
7373
* @return CAD29 asset ID, or CONVEX_ASSET_ID constant if the String refers to CVM
74-
* @throw IllegalArgumentException if String is not a valid token ID
74+
* @throws IllegalArgumentException if String is not a valid token ID
7575
*/
7676
public static ACell parseTokenID(String caip19) {
7777
if (isCVM(caip19)) return CONVEX_ASSET_ID;

convex-gui/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<parent>
55
<groupId>world.convex</groupId>
66
<artifactId>convex</artifactId>
7-
<version>0.8.2-SNAPSHOT</version>
7+
<version>0.8.2</version>
88
</parent>
99
<modelVersion>4.0.0</modelVersion>
1010

convex-integration/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>world.convex</groupId>
1616
<artifactId>convex</artifactId>
17-
<version>0.8.2-SNAPSHOT</version>
17+
<version>0.8.2</version>
1818
</parent>
1919

2020
<build>

convex-java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>world.convex</groupId>
77
<artifactId>convex</artifactId>
8-
<version>0.8.2-SNAPSHOT</version>
8+
<version>0.8.2</version>
99
</parent>
1010

1111
<name>Convex Java Client Library</name>

convex-observer/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<parent>
99
<groupId>world.convex</groupId>
1010
<artifactId>convex</artifactId>
11-
<version>0.8.2-SNAPSHOT</version>
11+
<version>0.8.2</version>
1212
</parent>
1313

1414
<name>Convex Observer</name>
@@ -44,7 +44,7 @@
4444
<dependency>
4545
<groupId>world.convex</groupId>
4646
<artifactId>convex-java</artifactId>
47-
<version>0.8.2-SNAPSHOT</version>
47+
<version>0.8.2</version>
4848
</dependency>
4949
</dependencies>
5050
</project>

0 commit comments

Comments
 (0)