/
githubmirror
/
nghttp2
Обзор
Документация
Войти
/
githubmirror
/
nghttp2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
makerelease.sh
22 строки
570 B
Tatsuhiro Tsujikawa
Automate release process
20 мар 2024, 09:12
20 мар 2024, 09:12
c3fe715
Код
Авторство
О чём код?
#!/bin/sh -e TAG=$1 PREV_TAG=$2 git checkout refs/tags/$TAG git log --pretty=fuller --date=short refs/tags/$PREV_TAG..HEAD > ChangeLog autoreconf -i ./configure make dist-bzip2 make dist-gzip make dist-xz make distclean rm -f checksums.txt VERSION=`echo -n $TAG | sed -E 's|^v([0-9]+\.[0-9]+\.[0-9]+(-[^.]+(\.[0-9]+)?)?)$|\1|'` for f in nghttp2-$VERSION.tar.bz2 nghttp2-$VERSION.tar.gz nghttp2-$VERSION.tar.xz; do sha256sum $f >> checksums.txt echo -n "$GPG_PASSPHRASE" | gpg --batch --passphrase-fd 0 --pinentry-mode loopback --armor --detach-sign $f done