@@ -8,6 +8,10 @@ The project is released with the normal Maven release cycle except for the site.
8
8
https://github.com/mybatis/committers-stuff/wiki/Release-Process
9
9
2 . Make sure your SSH key is setup at GitHub
10
10
11
+ ## Preparation
12
+
13
+ 1 . Update the release date in the CHANGELOG
14
+
11
15
## Release Process
12
16
13
17
1 . Clone the main repo (with ssh), checkout the master branch
@@ -27,19 +31,24 @@ in the normal release. Here's how to do it manually:
27
31
1 . Clone the main repo and checkout the release tag:
28
32
- ` git clone [email protected] :mybatis/mybatis-dynamic-sql.git `
29
33
- ` cd mybatis-dynamic-sql `
30
- - ` git checkout mybatis-dynamic-sql-1.5.0 `
34
+ - ` git checkout mybatis-dynamic-sql-1.5.1 `
31
35
2 . ` ./mvnw clean site `
32
36
3 . Checkout a copy of the main repo in a temp directory:
33
37
- ` mkdir ~/temp/temp-mybatis `
34
38
- ` cd ~/temp/temp-mybatis `
35
39
- ` git clone [email protected] :mybatis/mybatis-dynamic-sql.git `
40
+ - ` cd mybatis-dynamic-sql `
36
41
- ` git checkout gh-pages `
37
42
4 . Copy the generated site into the temp checkout:
38
- - ` cp -R <<source git>>/mybatis-dynamic-sql/target/site ~/temp/temp-mybatis/mybatis-dynamic-sql `
43
+ - ` cp -R <<source git>>/mybatis-dynamic-sql/target/site/ ~/temp/temp-mybatis/mybatis-dynamic-sql `
39
44
5 . Push the new site:
40
45
- ` cd ~/temp/temp-mybatis/mybatis-dynamic-sql `
41
46
- ` git add . `
42
- - ` git commit -m "Manual Site Update 1.5.0 " `
47
+ - ` git commit -m "Manual Site Update 1.5.1 " `
43
48
- ` git push `
44
49
6 . Delete the temporary checkout
45
50
- ` rm -R ~/temp/temp-mybatis `
51
+
52
+ ## After Releasing
53
+
54
+ Draft a new release on GitHub and tie it to the new release tag.
0 commit comments