Skip to content

Commit 39ed146

Browse files
committed
Add release steps
1 parent e02b6e7 commit 39ed146

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed

RELEASE.adoc

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Release Process
2+
3+
### 1. Update Dependencies
4+
5+
Check for available updates. If available, update at least Spring Framework, Spring Data, and Spring Security.
6+
7+
### 2. Update Release Number
8+
9+
Update `build.gradle`'s version property:
10+
11+
```bash
12+
export RELEASE=3.0.0-M4
13+
sed -i 's/version=(.*)/version=${RELEASE}/' build.gradle
14+
```
15+
16+
### 3. Build
17+
18+
Check to ensure that everything builds:
19+
20+
```bash
21+
gw check
22+
```
23+
24+
### 4. Commit and Watch
25+
26+
Commit the release:
27+
28+
```bash
29+
git commit -m "Release ${RELEASE}"
30+
```
31+
32+
This will push a build to https://jenkins.spring.io/job/spring-ldap/job/main/.
33+
Once the build passes, proceed to the next step.
34+
35+
### 5. Tag
36+
37+
Tag and push the release commit:
38+
39+
```bash
40+
git tag ${RELEASE}
41+
git push origin ${RELEASE}
42+
```
43+
44+
### 6. Notify on Slack
45+
46+
Announce the release on the `#spring-release` channel:
47+
48+
```bash
49+
spring-ldap-announcing `3.0.0-M4` is out!
50+
```
51+
52+
### 7. Prepare for Next Development Cycle
53+
54+
Update and commit `build.gradle`:
55+
56+
```bash
57+
sed -i 's/version=(.*)/version=3.0.0-SNAPSHOT'
58+
git commit -am "Next Development Version"
59+
```

0 commit comments

Comments
 (0)