Gabriella439 / pipes-platform

The full ecosystem of pipes libraries
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Use Github's release system for the upcoming releases #9

Closed Gabriella439 closed 11 years ago

Gabriella439 commented 11 years ago

This is "nice to have" but not urgent, so I'm just putting this issue here as a reminder to myself to eventually do this.

k0001 commented 11 years ago

All you have to do is add a git tag to one of your commits, and GitHub generates the release package.

See here: https://github.com/k0001/pipes-network/releases

All I do is I tag the commit at which I generate the package that I upload to Hackage, and then push those tags to Github using git push --tags name-of-your-github-remote

Gabriella439 commented 11 years ago

How does it know how to generate the tar/zip file?

k0001 commented 11 years ago

I assume it's the “whole repository“, as reported by git ls-files. I'm not sure how it behaves when you have git ubmodules and stuff like that.

Gabriella439 commented 11 years ago

I got this to work and also figured out how to attach the cabal-generated tar files, too.