Sha256: 9f7fb75266d611c801c36cbadcf370334d35460836def585f3794eef04cccf29

Contents?: true

Size: 613 Bytes

Versions: 2

Compression:

Stored size: 613 Bytes

Contents

.PHONY: checkout_to_release

# Github variables
GITHUB_API=https://api.github.com
ORG=ukparliament
REPO=parliament-ruby
LATEST_REL=$(GITHUB_API)/repos/$(ORG)/$(REPO)/releases
REL_TAG=$(shell curl -s $(LATEST_REL) | jq -r '.[0].tag_name')

checkout_to_release:
	git checkout -b release $(REL_TAG)

gemset:
	rvm gemset create parliament-ruby
	rvm --force gemset empty parliament-ruby
	rvm gemset use parliament-ruby

test: gemset
	bundle install
	bundle exec rake

build:
	rm -f parliament-ruby-*.gem
	gem build parliament-ruby.gemspec

release: build test
	gem push parliament-ruby-*.gem
	rm parliament-ruby-*.gem

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
parliament-ruby-0.8.0 Makefile
parliament-ruby-0.7.9.pre2 Makefile