Skip to content

Commit ea7e692

Browse files
author
dushixiang
committed
修复打包脚本有误,导致了前端页面丢失的问题。fixed #52
1 parent 774e0f9 commit ea7e692

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
cd web
2-
yarn && yarn build | exit
2+
yarn && yarn build
3+
rm -rf ../src/main/resources/static
34
mv dist ../src/main/resources/static
45

56
echo "build frontend success"
67

78
cd ../
8-
mvn -f pom.xml clean package -Dmaven.test.skip=true | exit
9+
mvn -f pom.xml clean package -Dmaven.test.skip=true
910

1011
echo "build kafka-map success"

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>cn.typesafe</groupId>
1414
<artifactId>kafka-map</artifactId>
15-
<version>1.3.0</version>
15+
<version>1.3.1</version>
1616
<name>kafka-map</name>
1717
<description>a simple kafka manager</description>
1818

web/src/utils/utils.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export const NT_PACKAGE = () => {
154154
// const version = _package.version;
155155
return {
156156
name: 'kafka-map',
157-
version: 'v1.3.0'
157+
version: 'v1.3.1'
158158
}
159159
}
160160

0 commit comments

Comments
 (0)