<commit_before>.PHONY: default

default: test

build:
	docker build --rm --force-rm -t odavid/my-bloody-jenkins .

test: build
	bats tests/bats
<commit_msg>added release target to Makefile [skip ci]<commit_after>.PHONY: default

default: test

build:
	docker build --rm --force-rm -t odavid/my-bloody-jenkins .

test: build
	bats tests/bats

release:
	$(eval NEW_INCREMENT := $(shell expr `git describe --tags --abbrev=0 | cut -d'-' -f2` + 1))
	$(eval BASE_VERSION := $(shell grep FROM Dockerfile | cut -d':' -f 2 | cut -d '-' -f 1))
	git tag v$(BASE_VERSION)-$(NEW_INCREMENT)
	git push origin v$(BASE_VERSION)-$(NEW_INCREMENT)

{'fraction_non_alphanumeric': 0.15445859872611464, 'fraction_numerical': 0.007961783439490446, 'mean_word_length': 3.7293233082706765, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1802011', 'n_tokens_mistral': 245, 'n_tokens_neox': 236, 'n_words': 70}