-
Notifications
You must be signed in to change notification settings - Fork 6
/
release.sh
40 lines (27 loc) · 1.04 KB
/
release.sh
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
#!/usr/bin/env bash
cat <<END
-----------------------------------------------------------
M A N U A L R E L E A S E I S N O T A V A I L B L E
-----------------------------------------------------------
Execute this file to get this message.
Normal release should
1. Edit the version.jim file and update the release version.
2. cd jamal-debug-ui
3. $ ./deployprod
This will ensure that that the version number of the React
client is the same as the version of the application. It is
not really the version number, which is important, but that
is used to ensure compatibility between the debugger server
and client.
4. cd ..
5. mvn clean verify
At this point we can be sure that there are no errors. If
there are errors then they have to be fixed.
If all compilation went well, then and only then:
6. git commit -m "new release <VERSION>"
push all changes to github
7. mvn deploy -Prelease
publish the release
8. When the release went well, then create a new release tag in GutHub.
-------------------------------------------------------
END