Skip to content

Commit

Permalink
docs: Add instruction for creating sha256sum.asc
Browse files Browse the repository at this point in the history
Signed file containing sha256sum for *.zip and *.tar.gz

+ cleanup (rename variable, remove &&)

Signed-off-by: Petr Vorel <[email protected]>
  • Loading branch information
pevik committed Jul 12, 2019
1 parent 129ad44 commit 5006c30
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions Documentation/README.maintainer
Original file line number Diff line number Diff line change
Expand Up @@ -34,31 +34,36 @@ release.

Create release commit and tag.

date_str=$(date +s%Y%m%d) &&
sed --in-place "s/version : '.*')/version : '$date_str')/" meson.build &&
git add meson.build &&
git commit --signoff --message "release: iputils-$date_str" &&
git tag --sign --annotate $date_str --message iputils-$date_str
date="$(date +s%Y%m%d)"
sed --in-place "s/version : '.*')/version : '$date')/" meson.build
git add meson.build
git commit --signoff --message "release: iputils-$date"
git tag --sign --annotate $date --message iputils-$date

Check that the commit and tag looks ok.

git show $date_str --show-signature
git show $date --show-signature

Assuming things are great push to github.

git push origin master:master &&
git push origin master:master
git push origin --tags

Go to github https://github.com/iputils/iputils/releases and paste the
release message you drafted earlier to text box. Choose the tag you just
created. Download the release files and sign them.

for file in iputils-$date_str ; do gpg --sign --armor --detach-sign $file ; done
for file in iputils-$date.{zip,tar.gz}; do gpg --sign --armor --detach-sign $file; done

Upload the .asc files to release as additional files. The release should be
ready. People tend to react to releases, so expect bug reports and pull
requests after release. Assuming release has fatal flaw(s) make another one
sometime soon.
out="sha256sum"
for file in iputils-$date.{zip,tar.gz}; do $out $file >> $out; done
gpg --clearsign $out

Upload these three .asc files to release as additional files.

The release should be ready. People tend to react to releases, so expect bug
reports and pull requests after release. Assuming release has fatal flaw(s)
make another one sometime soon.

# Branches in git

Expand Down

0 comments on commit 5006c30

Please sign in to comment.