Skip to content

Commit

Permalink
Templating date for RPM changelog, sorting checksums
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyr committed Nov 15, 2017
1 parent 67341c3 commit c29999d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ for P in "${PLATFORMS[@]}"; do
ln -s "$TMP/$PKG" ~/rpmbuild/SOURCES/
(
cd "$TRAVIS_BUILD_DIR/contrib/redhat"
m4 -DVER="$VER" gbt.spec.m4 > gbt.spec
m4 -DVER="$VER" -DDATE="$(date '+%a %b %d %Y')" gbt.spec.m4 > gbt.spec
rpmbuild -bb gbt.spec
)
mv ~/rpmbuild/RPMS/x86_64/*.rpm "$TMP"
fi
done

cd "$TMP"
sha256sum *.tar.gz *.deb *.rpm > "$NAME-$VER-checksums.txt"
sha256sum *.tar.gz *.deb *.rpm | sort -k2 > "$NAME-$VER-checksums-sha256.txt"

0 comments on commit c29999d

Please sign in to comment.