Sha256: c87b80831d17b8dc04add6345643dd91f32c680c43031c7b7a6b140544daf9d4

Contents?: true

Size: 402 Bytes

Versions: 1

Compression:

Stored size: 402 Bytes

Contents

.PHONY: checkout_to_release deploy_to_release

# Github variables
GITHUB_API=https://api.github.com
ORG=ukparliament
REPO=parliament-grom-decorators
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)

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
parliament-grom-decorators-0.2.3 makefile