You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/10/16 05:52:01 UTC
[pulsar-manager] branch master updated: Support gradle bump version
(#201)
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-manager.git
The following commit(s) were added to refs/heads/master by this push:
new e4242d8 Support gradle bump version (#201)
e4242d8 is described below
commit e4242d8a09d852f02d50432b5c1123b3e588808e
Author: tuteng <eg...@gmail.com>
AuthorDate: Wed Oct 16 13:51:51 2019 +0800
Support gradle bump version (#201)
### Modifications
* Add a task to change the version when releasing the project, use the following command to change the version number.
```
./gradlew incrementVersion -Pversion=0.0.3
```
* Update front-end version to 0.0.2 consistent with backend
---
build.gradle | 5 +++++
front-end/package.json | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 9f0c0b5..81a6699 100644
--- a/build.gradle
+++ b/build.gradle
@@ -63,6 +63,11 @@ task licenseCheckNode(type: com.hierynomus.gradle.license.tasks.LicenseCheck) {
source = fileTree(dir: "src").include("**/*")
}
+// Add VERSION
+task incrementVersion<<{
+ new File(projectDir, "VERSION").text = version
+}
+
dependencyManagement {
imports {
mavenBom org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES
diff --git a/front-end/package.json b/front-end/package.json
index 8a2ca34..104065f 100644
--- a/front-end/package.json
+++ b/front-end/package.json
@@ -1,6 +1,6 @@
{
"name": "pulsar-manager",
- "version": "0.0.1",
+ "version": "0.0.2",
"description": "A tool for managing Apache Pulsar.",
"author": "<eg...@gmail.com>",
"license": "Apache License 2.0",