-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathMakefile
More file actions
12 lines (11 loc) · 852 Bytes
/
Makefile
File metadata and controls
12 lines (11 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
# 当需要升级版本时,执行该命令
version=2.0.0
update_version:
sed -i '' 's/public static final String VERSION = ".*";/public static final String VERSION = "v${version}";/' feat-core/src/main/java/tech/smartboot/feat/Feat.java
mvn versions:set -DnewVersion=${version} versions:commit clean install -DskipTests
mvn -f demo/feat_static/pom.xml versions:set -DnewVersion=${version} versions:commit
mvn -f demo/helloworld/pom.xml versions:set -DnewVersion=${version} versions:commit
mvn -f demo/helloworld_docker/pom.xml versions:set -DnewVersion=${version} versions:commit
#mvn -f demo/helloworld_native/pom.xml versions:set -DnewVersion=${version} versions:commit
mvn -f demo/mybatis/pom.xml versions:set -DnewVersion=${version} versions:commit
mvn -f demo/redis_session/pom.xml versions:set -DnewVersion=${version} versions:commit