Sha256: e0ab1337cd80ecaf4cf9b4f1014713a48dca4931fab1a72b62ff53e23b130ddb

Contents?: true

Size: 708 Bytes

Versions: 24

Compression:

Stored size: 708 Bytes

Contents

.PHONY: checkout_to_release deploy_to_release

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


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

test: gemset
	bundle install
	bundle exec rake

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

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

checkout_to_release:
	git checkout -b release $(REL_TAG)

deploy_to_release:
	gem build *.gemspec
	gem push *.gem
	rm *.gem

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
parliament-utils-0.11.3 Makefile
parliament-utils-0.11.2 Makefile
parliament-utils-0.11.1 Makefile
parliament-utils-0.11.0 Makefile
parliament-utils-0.10.2 Makefile
parliament-utils-0.10.1 Makefile
parliament-utils-0.10.0 Makefile
parliament-utils-0.9.1 Makefile
parliament-utils-0.9.0 Makefile
parliament-utils-0.8.7 Makefile
parliament-utils-0.8.6 Makefile
parliament-utils-0.8.5 Makefile
parliament-utils-0.8.4 Makefile
parliament-utils-0.8.3 Makefile
parliament-utils-0.8.2 Makefile
parliament-utils-0.8.1 Makefile
parliament-utils-0.8.0 Makefile
parliament-utils-0.7.3 Makefile
parliament-utils-0.7.2 Makefile
parliament-utils-0.7.1 Makefile