Sha256: df4693b85e1b6d43678ec560b42d557014c410ecb510dedd398bbaf6d01212f4

Contents?: true

Size: 924 Bytes

Versions: 3

Compression:

Stored size: 924 Bytes

Contents

.PHONY: release release_patch release_minor release_major

NEXT_PATCH=$(shell docker-compose run --rm gem bash -c "bundle exec bump show-next patch")
NEXT_MINOR=$(shell docker-compose run --rm gem bash -c "bundle exec bump show-next minor")
NEXT_MAJOR=$(shell docker-compose run --rm gem bash -c "bundle exec bump show-next major")

release_patch: export VERSION=${NEXT_PATCH}
release_patch:
	make release

release_minor: export VERSION=${NEXT_MINOR}
release_minor:
	make release

release_major: export VERSION=${NEXT_MAJOR}
release_major:
	make release

release:
	git checkout develop
	@echo 'Set a new version'
	docker-compose run --rm gem bash -c "bundle exec bump set ${VERSION}"
	@echo 'Update remote origin'
	git push origin develop
	git checkout main
	git pull origin --rebase main
	git merge --no-ff --no-edit develop
	git push origin main
	@echo 'Create a new tag'
	git tag v${VERSION}
	git push origin v${VERSION}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uffizzi-cli-0.3.7 Makefile
uffizzi-cli-0.3.6 Makefile
uffizzi-cli-0.3.5 Makefile