|
| 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