git.iko.soy/typeable/postgresql-simple
on aeson-instances help sign in
25 lines 422 B history raw
1#!/bin/bash
3echo "Generating CHANGELOG.md"
4echo
6cat <<HEADER > CHANGELOG.md
7For the full changelog, see
8<https://github.com/lpsmith/postgresql-simple/blob/master/CHANGES.md>
10HEADER
12perl -ne '$n++ if /^###/; exit if $n==2; print' CHANGES.md >> CHANGELOG.md
14cat CHANGELOG.md
15rm -f ./dist/*.tar
16rm -f ./dist/*.tar.gz
17cabal sdist
18cd dist
19wc *.tar.gz
20gunzip *.gz
21wc *.tar
22zopfli *.tar
23wc *.tar.gz
24cd ..
25rm -f ./dist/*.tar