mirror of
https://github.com/higherkindness/mu-haskell.git
synced 2024-09-11 14:36:01 +03:00
10 lines
356 B
Bash
Executable File
10 lines
356 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cabal sdist ${1}
|
|
cabal upload dist-newstyle/sdist/${1}-${2}.tar.gz
|
|
echo "Check that it has been published correctly, and press Enter"
|
|
read
|
|
cabal upload --publish dist-newstyle/sdist/${1}-${2}.tar.gz
|
|
cabal v2-haddock --builddir="dist-newstyle" --haddock-for-hackage --enable-doc ${1}
|
|
cabal upload -d --publish dist-newstyle/${1}-${2}-docs.tar.gz
|