feat: add release

Signed-off-by: Xinwei Xiong(cubxxw-openim) <3293172751nss@gmail.com>
pull/462/head
Xinwei Xiong(cubxxw-openim) 1 year ago
parent edcb065636
commit 4d8fafe029

@ -158,6 +158,11 @@ verify-copyright:
add-copyright:
@$(MAKE) copyright.add
## release: release the project
.PHONY: release
release: release.verify release.ensure-tag
@scripts/release.sh
## help: Show this help info.
.PHONY: help
help: Makefile

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# http://stackoverflow.com/a/21142256/2055281
echo "mode: atomic" > coverage.txt
@ -27,4 +26,3 @@ for d in $(find ./* -maxdepth 10 -type d); do
fi
fi
done

@ -1,4 +1,5 @@
#!/usr/bin/env bash
# Copyright © 2023 OpenIM. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");

@ -96,7 +96,6 @@ openim::version::get_version_vars() {
:
fi
# Try to match the "git describe" output to a regex to try to extract
# the "major" and "minor" versions and whether this is the exact tagged
# version or whether the tree is between two tagged versions.

@ -17,7 +17,7 @@
# Versions are used after merging
#
## release: release the project
## release.run: release the project
.PHONY: release.run
release.run: release.verify release.ensure-tag
@scripts/release.sh
@ -39,4 +39,4 @@ release.ensure-tag: tools.verify.gsemver
## release.help: Display help information about the release package
.PHONY: release.help
release.help: scripts/make-rules/release.mk
$(call smallhelp)
$(call smallhelp)

Loading…
Cancel
Save