Update release script (#1477)

This is automating slightly more of the release process that I perform
This commit is contained in:
Gabriel Gonzalez 2019-10-26 09:23:50 -07:00 committed by mergify[bot]
parent d08ccfb384
commit 90415e12d1
1 changed files with 9 additions and 5 deletions

View File

@ -4,6 +4,10 @@ function release {
NAME="$1"
VERSION="$2"
cabal v1-configure
cabal v1-sdist
cabal upload --publish "dist/${NAME}-${VERSION}.tar.gz"
curl --location --output "${NAME}-${VERSION}-x86_64-linux.tar.bz2" "https://hydra.dhall-lang.org/job/dhall-haskell/${JOBSET}/tarball-${NAME}/latest/download/1/${NAME}.tar.bz2"
curl --location --remote-name "https://hydra.dhall-lang.org/job/dhall-haskell/${JOBSET}/image-${NAME}/latest/download/1/docker-image-${NAME}.tar.gz"
@ -12,8 +16,8 @@ function release {
skopeo copy --dest-creds=gabriel439:$(< dockerPassword.txt) "docker-archive:docker-image-${NAME}.tar.gz" "docker://dhallhaskell/${NAME}:${VERSION}"
}
release dhall 1.26.1
release dhall-json 1.4.1
release dhall-bash 1.0.23
release dhall-nix 1.1.8
release dhall-lsp-server 1.0.1
release dhall-lsp-server 1.0.2
release dhall-json 1.5.0
release dhall-bash 1.0.24
release dhall-nix 1.1.9
release dhall 1.27.0