Skip to content

Commit

Permalink
[hertzbeat] release hertzbeat version v1.2.3 (#516)
Browse files Browse the repository at this point in the history
* [hertzbeat] release hertzbeat version v1.2.3

* [hertzbeat] release hertzbeat version v1.2.3

* [web-app] fix ng build error

* [hertzbeat] release hertzbeat version v1.2.3

* [hertzbeat] release hertzbeat version v1.2.3
  • Loading branch information
tomsun28 authored Dec 24, 2022
1 parent e072a40 commit ff53a4f
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
<artifactId>maven-pmd-plugin</artifactId>
<version>3.8</version>
<configuration>
<linkXRef>false</linkXRef>
<rulesets>
<ruleset>rulesets/java/ali-comment.xml</ruleset>
<!--<ruleset>rulesets/java/ali-concurrent.xml</ruleset>-->
Expand Down Expand Up @@ -129,4 +130,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
2 changes: 1 addition & 1 deletion script/assembly/server/assembly.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
http://maven.apache.org/ASSEMBLY/2.0.0 ">
<!--必填,会追加到打包文件名称的末尾-->
<id>1.2.2</id>
<id>1.2.3</id>
<!--打包类型,可以设置多种类型,打包的时候不同的类型都会打包打出来-->
<formats>
<format>tar</format>
Expand Down
8 changes: 4 additions & 4 deletions script/assembly/server/bin/restart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
# limitations under the License.

# 重启脚本执行的起始时间
starttime=$(date -d now +%s)
echo -e "\033[0;31m当前时间是$(date "+%Y-%m-%d %H:%M:%S") 开始全部重启\033[0m"
startTime=$(date +%s)
echo -e "\033[0;31mCurrent Time is$(date "+%Y-%m-%d %H:%M:%S") Restart Now!\033[0m"
./shutdown.sh
echo
sleep 2
echo
./startup.sh
# 重启脚本执行的结束时间
endtime=$(date -d now +%s)
echo -e "\033[0;31m当前时间是$(date "+%Y-%m-%d %H:%M:%S") 已经完全重启了!重启一共耗费了$(($endtime - $starttime)) \033[0m";
endTime=$(date +%s)
echo -e "\033[0;31mCurrent Time is$(date "+%Y-%m-%d %H:%M:%S") Restart Success!Spend $((endTime - startTime)) seconds \033[0m";
2 changes: 1 addition & 1 deletion script/docker/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM openjdk:11.0.16-jre-slim-buster

MAINTAINER tancloud "[email protected]"

ADD hertzbeat-1.2.2.tar /opt/
ADD hertzbeat-1.2.3.tar /opt/

ENV TZ=Asia/Shanghai
#ENV LANG=zh_CN.UTF-8
Expand Down
2 changes: 1 addition & 1 deletion web-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

1. Execute command in web-app

```ng build --prod```
```ng build --configuration production```

2. Execute command in manager

Expand Down
2 changes: 1 addition & 1 deletion web-app/src/app/layout/basic/basic.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ import { CONSTS } from 'src/app/shared/consts';
<div style="margin-top: 30px">
HertzBeat {{ version }}<br />
Copyright
<i nz-icon nzType="copyright"></i> 2022
<i nz-icon nzType="copyright"></i> 2023
<a href="https://hertzbeat.com" target="_blank">hertzbeat.com</a>
<br />
Licensed under the Apache License, Version 2.0
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/app/layout/passport/passport.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
HertzBeat {{ version }}<br />
Copyright
<i nz-icon nzType="copyright" nzTheme="outline"></i>
2022
2023
<a href="https://hertzbeat.com" target="_blank">hertzbeat.com</a>
<br />
Licensed under the Apache License, Version 2.0
Expand Down
2 changes: 1 addition & 1 deletion web-app/src/app/shared/consts.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const CONSTS = {
VERSION: 'v1.2.2'
VERSION: 'v1.2.3'
};

0 comments on commit ff53a4f

Please sign in to comment.