Commit c798644a authored by tibbe's avatar tibbe
Browse files

make release also uploads to Hackage

parent 879b6e3b
......@@ -124,6 +124,8 @@ $(DIST_STAMP) : $(HADDOCK_STAMP) $(USERGUIDE_STAMP) $(SDIST_STAMP)
@echo "Release fileset prepared: $(DISTLOC)/"
release: $(DIST_STAMP)
@echo "Uploading to Hackage..."
cabal upload $(DIST_STAMP)
scp -r $(DISTLOC) $(SSH-USER)@haskell.org:/srv/web/haskell.org/cabal/release/cabal-$(VERSION)
ssh $(SSH-USER)@haskell.org 'cd /srv/web/haskell.org/cabal/release && rm -f $(KIND) && ln -s cabal-$(VERSION) $(KIND)'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment