Skip to content

Commit 7bb41fd

Browse files
committed
doc: Add Release procedure
This slightly outdated document exists in LTP wiki, start versioning it in the original repository. The only unversioned file in the wiki is now Home.rest. Link: https://lore.kernel.org/ltp/[email protected]/T/#u Reviewed-by: Li Wang <[email protected]> Reviewed-by: Avinesh Kumar <[email protected]> Signed-off-by: Petr Vorel <[email protected]>
1 parent ce0e3ca commit 7bb41fd

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

doc/LTP-Release-Procedure.asciidoc

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
LTP Release Procedure
2+
=====================
3+
4+
This page contains quick summary of what needs to be done to do a LTP release. It's expected that LTP git is frozen and git HEAD was properly tested and that LTP git tree is cloned to a directory named 'ltp'.
5+
6+
NOTE: The string YYYYMMDD should be substituted to the current date.
7+
8+
1. Tag the git
9+
--------------
10+
11+
[source,sh]
12+
--------------------------------------------------------------------
13+
cd ltp
14+
echo YYYYMMDD > VERSION
15+
git commit -s -m 'LTP YYYYMMDD' VERSION
16+
git tag -a YYYYMMDD -m 'LTP YYYYMMDD'
17+
--------------------------------------------------------------------
18+
19+
2. Push changes to github
20+
-------------------------
21+
[source,sh]
22+
--------------------------------------------------------------------
23+
git push
24+
git push --tags
25+
--------------------------------------------------------------------
26+
27+
3. Prepare tarballs
28+
-------------------
29+
[source,sh]
30+
--------------------------------------------------------------------
31+
cd ..
32+
git clone ltp ltp-full-YYYYMMDD
33+
cd ltp-full-YYYYMMDD
34+
# Update mce-inject submodule
35+
git submodule init
36+
git submodule update
37+
# Generate configure script
38+
make autotools
39+
# Prepare the archives
40+
cd ..
41+
tar -cjf ltp-full-YYYYMMDD.tar.bz2 ltp-full-YYYYMMDD --exclude .git
42+
tar -cJf ltp-full-YYYYMMDD.tar.xz ltp-full-YYYYMMDD --exclude .git
43+
--------------------------------------------------------------------
44+
45+
4. Upload the tarballs to GitHub
46+
--------------------------------
47+
48+
Click on 'releases' then switch to 'tags' then click on 'Add release notes' there should be 'Attach binaries ...' link at the bottom of the page.
49+
50+
Don't forget to upload md5 and sha-1 sums for the tarballs as well.
51+
52+
5. Send release announcement
53+
----------------------------
54+
55+
Have a look at http://sourceforge.net/p/ltp/mailman/message/34429656/ to get the idea how it should look.
56+
57+
The announcement is send to:
58+
59+
* ltp at lists.linux.it
60+
* linux-kernel at vger.kernel.org
61+
* libc-alpha at sourceware.org
62+
63+
CCed to:
64+
65+
* lwn at lwn.net
66+
* akpm at linux-foundation.org
67+
* torvalds at linux-foundation.org.

0 commit comments

Comments
 (0)