# Maintainance Release Procedure
# bump version and update dependencies if necessary
emacs language-c.cabal
darcs record
# apply patches
darcs am *.patch
# add minimal test for new functionality
# (edit test/harness)
# haskell updates
# (update GHC to stable release)
cabal update
cabal install -p --upgrade-dependencies --only-dependencies
# build & harness test
cabal configure -fallWarnings --enable-tests
cabal build
cabal test
# regression test
DEFAULT_BROWSER=firefox bash scripts/regression_test
# tag
darcs tag language-c-0.5.0
# upload to code.haskell.org
darcs push
# update github mirror (darcs-2-git)
cd ../language-c-darcs2git
darcs-2-git ../language-c
cd ../language-c-github
git checkout darcs2git
git pull ../language-c-darcs2git
git checkout master
git merge darcs2git
# upload to hackage (using website)