Skip to content

Commit

Permalink
add changelog and contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
nandub committed Sep 9, 2013
1 parent 6ea6ea1 commit 5a9f3f8
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source 'https://rubygems.org'

gem 'katip'
10 changes: 10 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
GEM
remote: https://rubygems.org/
specs:
katip (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
katip
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions release/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

katip
3 changes: 2 additions & 1 deletion release/contributors
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/sh
git shortlog -n -s
git shortlog -n -s > CONTRIBUTORS.md
echo Create CONTRIBUTORS.md

0 comments on commit 5a9f3f8

Please sign in to comment.