3 # invoke with do-release 2.N.M, or 2.N.M-rcXX
6 SRCDIR
=~
/git
/lttng-modules
7 # The output files are created in ${HOME}/stable/
8 OUTPUTDIR
=${HOME}/stable
10 if [ x
"$1" = x
"" ]; then
11 echo "1 arg : VERSION";
17 echo Doing LTTng modules release
${REL}
19 mkdir lttng-modules-
${REL}
20 cd lttng-modules-
${REL}
27 for a
in \
*.orig \
*.rej Module.markers Module.symvers
; do
28 find .
-name "${a}" -exec rm '{}' \
;;
30 for a
in outgoing .tmp_versions .git .pc
; do
31 find .
-name "${a}" -exec rm -rf '{}' \
;;
35 tar cvfj lttng-modules-
${REL}.
tar.bz2 lttng-modules-
${REL}
36 mksums lttng-modules-
${REL}.
tar.bz2
37 signpkg lttng-modules-
${REL}.
tar.bz2