forked from simoc/csvjdbc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRELEASE-INSTRUCTIONS.txt
70 lines (48 loc) · 1.89 KB
/
RELEASE-INSTRUCTIONS.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Instructions for creating a CsvJdbc release build/RELEASE-INSTRUCTIONS.txt
1. Check environment
java -version (must be 1.6)
2. Checkout (replace simoc with your SourceForge username)
git clone ssh://simoc@git.code.sf.net/p/csvjdbc/code csvjdbc-code
git clone ssh://simoc@git.code.sf.net/p/csvjdbc/website csvjdbc-website
3. Check that XML <property name="rel"> tag in file
csvjdbc-code/build/build.xml is the version number we are creating.
If not, update it and commit.
4. Compile
cd csvjdbc-code/build
ant jar test
5. Check that the ant test step above does not report failing unit tests
6. Upload to Sourceforge web site (replace simoc and 1.0-16 with values
for this release).
sftp simoc,csvjdbc@frs.sourceforge.net
cd /home/frs/project/c/cs/csvjdbc/CsvJdbc
mkdir 1.0-16
cd 1.0-16
put target/csvjdbc-1.0-16.jar
7. Check that XML <project><version> tag in file pom.xml is the
version number we are creating. If not, update it and commit.
8. Check that you have a $HOME/.m2/settings.xml file like (replace
simoc with your Sourceforge username):
<settings>
<servers>
<server>
<id>csvjdbc.sourceforge.net</id>
<username>simoc,csvjdbc</username>
<filePermissions>775</filePermissions>
<directoryPermissions>775</directoryPermissions>
</server>
</servers>
</settings>
9. Maven deploy to SourceForge
mvn deploy (you are prompted your SourceForge login password)
10. Tag release (replace 1.0-16 with the value for this release)
git tag -a -m 'CsvJdbc version 1.0-16' v1.0-16
git push origin v1.0-16
11. Update Tracker tickets from 'Pending' to 'Closed' with a comment
that they are included in release 1.0-16.
12. Create a README.txt file listing the changed Tracker tickets and
upload to 1.0-16 directory, as in Step 7.
13. Upload new index.html if it has changed since last release.
cd csvjdbc-website/www
sftp simoc@web.sourceforge.net
cd /home/project-web/c/cs/csvjdbc/htdocs
put index.html