1
1
mirror of https://github.com/nmattia/niv.git synced 2024-09-19 11:27:40 +03:00
niv/script/upload
Nicolas Mattia 89ae775e9d Add --rev and -r
This should hopefully clarify that `--version` shouldn't be used for
GitHub repositories; moreover setting a particular revision is used much
more often than changing the repo name.
2020-08-21 16:17:27 +02:00

20 lines
452 B
Bash
Executable File

#!/usr/bin/env nix-shell
#!nix-shell -I nixpkgs=./nix
#!nix-shell -i bash -p cabal-install -p nix -p curl
# vim: filetype=sh
#
#
# How To Release:
# * git checkout master
# * make sure changelog is up-to-date
# * bump version in package.yaml
# * run ./script/gen (twice...)
# * run ./script/test
# * git ci -am "Release 3.14.15"
# * ./script/upload --publish
# * git tag v3.14.15
# * git push
# * git push --tags
$(nix-build -A niv-cabal-upload) "$@"