From 5a9f3f81dfa1394a91c55e4fd4e571186b923b80 Mon Sep 17 00:00:00 2001 From: Fernando Ortiz Date: Mon, 9 Sep 2013 18:25:58 -0500 Subject: [PATCH] add changelog and contributors --- Gemfile | 3 +++ Gemfile.lock | 10 ++++++++++ Makefile | 7 ++++++- release/changelog | 3 +++ release/contributors | 3 ++- 5 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 Gemfile create mode 100644 Gemfile.lock create mode 100755 release/changelog diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..1a05fbd --- /dev/null +++ b/Gemfile @@ -0,0 +1,3 @@ +source 'https://rubygems.org' + +gem 'katip' diff --git a/Gemfile.lock b/Gemfile.lock new file mode 100644 index 0000000..1293514 --- /dev/null +++ b/Gemfile.lock @@ -0,0 +1,10 @@ +GEM + remote: https://rubygems.org/ + specs: + katip (1.2.1) + +PLATFORMS + ruby + +DEPENDENCIES + katip diff --git a/Makefile b/Makefile index 14b225a..63d668d 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,12 @@ dev: js @coffee -wc --bare -o lib src/ VERSION = $(shell coffee src/npm-version.coffee) -release: npm-dep js +pre-release: + @bundle install >/dev/null 2>&1 + @sh release/changelog >/dev/null 2>&1 + @sh release/contributors >/dev/null 2>&1 + +release: pre-release npm-dep js git commit --allow-empty -a -m "release $(VERSION)" git tag v$(VERSION) git push origin master diff --git a/release/changelog b/release/changelog new file mode 100755 index 0000000..9097b4e --- /dev/null +++ b/release/changelog @@ -0,0 +1,3 @@ +#!/bin/sh + +katip diff --git a/release/contributors b/release/contributors index a751821..1317ef6 100755 --- a/release/contributors +++ b/release/contributors @@ -1,2 +1,3 @@ #!/bin/sh -git shortlog -n -s +git shortlog -n -s > CONTRIBUTORS.md +echo Create CONTRIBUTORS.md