<commit_before>####################################################################
#
# Rules used to build and release the SDK.
#
####################################################################

version = $(shell cat sdk-version.txt)
gradleArgs = -PbintrayPackageVersion=$(version) -PbintrayUser=$(user) -PbintrayApiKey=$(key)

verifyArguments:
	test $(user) || (echo "\nArgument missing: user=YOUR-BINTRAY-USERNAME\n" ; exit 1)
	test $(key) || (echo "\nArgument missing: key=YOUR-BINTRAY-API-KEY\n" ; exit 1)

tagCommit:
	git tag $(version)
	git push origin $(version)

bintrayDeploy:
	./gradlew $(gradleArgs) assembleRelease generatePomFileForAarPublication bintrayUpload

deploy: verifyArguments tagCommit bintrayDeploy<commit_msg>Fix MakeFile (TODO uncomment tag)<commit_after>####################################################################
#
# Rules used to build and release the SDK.
#
####################################################################

version = $(shell cat sdk-version.txt)
gradleArgs = -PbintrayPackageVersion=$(version) -PartifactoryUser=$(artifactoryUser) -PartifactoryPassword=$(artifactory<PASSWORD>) -PsonatypeOssrhUser=$(sonatypeUser) -PsonatypeOsshrPassword=$(<PASSWORD>) -PsonatypeSigningKeyPassword=$(keyPass) -PsonatypeSigningKeyBase64=$(keyBase64)

verifyArguments:
	test $(artifactoryUser) || (echo "\nArgument missing: artifactoryUser\n" ; exit 1)
	test $(artifactoryPass) || (echo "\nArgument missing: artifactoryPass\n" ; exit 1)
	test $(sonatypeUser) || (echo "\nArgument missing: sonatypeUser\n" ; exit 1)
	test $(sonatypePassword) || (echo "\nArgument missing: sonatypePassword\n" ; exit 1)
	test $(keyPass) || (echo "\nArgument missing: keyPass\n" ; exit 1)
	test $(keyBase64) || (echo "\nArgument missing: keyBase64\n" ; exit 1)

tagCommit:
	git tag $(version)
	git push origin $(version)

deployPackage:
	./gradlew $(gradleArgs) assembleRelease generatePomFileForAarPublication artifactoryPublish publishAarPublicationToSonatypeRepository

deploy: verifyArguments deployPackage
# TODO uncomment to add tag
# deploy: verifyArguments tagCommit deployPackage
{'fraction_non_alphanumeric': 0.2364066193853428, 'fraction_numerical': 0.007565011820330969, 'mean_word_length': 7.566801619433198, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5019569', 'n_tokens_mistral': 640, 'n_tokens_neox': 602, 'n_words': 152}