Skip to content

Commit 502eada

Browse files
authored
makefile: add tag_release recipe (#474)
updates #cleanup The tag_release recipe was integrated with bumposs, but it's still needed to manually tag branches such as the release branch. Signed-off-by: Jonathan Nobels <[email protected]>
1 parent cdbd062 commit 502eada

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,10 @@ androidpath:
179179
@echo "export ANDROID_SDK_ROOT=$(ANDROID_SDK_ROOT)"
180180
@echo 'export PATH=$(ANDROID_HOME)/cmdline-tools/latest/bin:$(ANDROID_HOME)/platform-tools:$$PATH'
181181

182+
.PHONY: tag_release
183+
tag_release: ## Tag the current commit with the current version
184+
git tag -a "$(VERSION_LONG)" -m "OSS and Version updated to ${VERSION_LONG}"
185+
182186

183187
.PHONY: bumposs ## Bump to the latest oss and update teh versions.
184188
bumposs: update-oss update-version

0 commit comments

Comments
 (0)