Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.

Commit 97dfd60

Browse files
committed
make_a_release: remove out of date pieces
Remove things related to signed tarball (we do not do it anylonger), the 'devel' branch and tizen. Signed-off-by: Artem Bityutskiy <[email protected]>
1 parent 43c4fcf commit 97dfd60

File tree

1 file changed

+4
-43
lines changed

1 file changed

+4
-43
lines changed

make_a_release.sh

Lines changed: 4 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -147,62 +147,23 @@ release_name="bmap-tools-$new_ver"
147147
printf "%s\n" "Signing tag $tag_name"
148148
git tag -m "$release_name" -s "$tag_name"
149149

150-
# Prepare a signed tarball
151-
git archive --format=tar --prefix="$release_name/" "$tag_name" | \
152-
gzip > "$outdir/$release_name.tgz"
153-
printf "%s\n" "Signing the tarball"
154-
gpg -o "$outdir/$release_name.tgz.asc" --detach-sign -a "$outdir/$release_name.tgz"
155-
156150
# Get the name of the release branch corresponding to this version
157151
release_branch="release-$(printf "%s" "$new_ver" | sed -e 's/\(.*\)\..*/\1.0/')"
158152

159153
cat <<EOF
160154
To finish the release:
161155
1. push the $tag_name tag out
162-
2. copy the tarball to ftp.infradead.org
163-
3. update the $release_branch with the contents of the 'master' branch
164-
4. point the master branch to the updated $release_branch branch
165-
5. push the master and $release_branch branches out
166-
6. (a bit later) push to the public tree and announce the new release
167-
in the public mailing list
156+
2. update the $release_branch with the contents of the 'master' branch
157+
3. point the master branch to the updated $release_branch branch
158+
4. push the master and $release_branch branches out
168159
169160
The commands would be:
170161
171162
#1
172163
git push origin $tag_name
173164
#2
174-
scp "$outdir/$release_name.tgz" "$outdir/$release_name.tgz.asc" casper.infradead.org:/var/ftp/pub/bmap-tools/
175-
#3
176165
git branch -f $release_branch master
177-
#4
178-
git branch -f master $release_branch
179-
#5
166+
#3
180167
git push origin master:master
181168
git push origin $release_branch:$release_branch
182-
#6
183-
git push public $tag_name
184-
git push public master:master
185-
git push public $release_branch:$release_branch
186-
#7
187-
git push tizen $tag_name
188-
git push tizen master:master
189-
git push tizen $release_branch:$release_branch
190-
#8
191-
git send-email --suppress-cc=all --from "Artem Bityutskiy <[email protected]>" --to [email protected] /proc/self/fd/0 <<END_OF_EMAIL
192-
Subject: Announcement: $release_name is out!
193-
194-
Bmap-tools version $new_ver is out!
195-
196-
Release notes: http://git.infradead.org/users/dedekind/bmap-tools.git/blob/refs/heads/$release_branch:/docs/RELEASE_NOTES
197-
Tarball: ftp://ftp.infradead.org/pub/bmap-tools/
198-
199-
Packages for various distributions are available here:
200-
http://download.tizen.org/tools/pre-release/
201-
202-
At some later point they will be propagated to here:
203-
http://download.tizen.org/tools/latest-release/
204-
205-
--
206-
Artem Bityutskiy
207-
END_OF_EMAIL
208169
EOF

0 commit comments

Comments
 (0)