update build script.

This commit is contained in:
lijiahang
2024-05-06 17:05:27 +08:00
parent 7b6849c4c9
commit f45bb24047
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -4,4 +4,4 @@ cp $HOME/orion-ops/lib/machine-monitor-agent-latest.jar ./
docker build -t orion-ops:1.2.4 .
rm -f ./orion-ops-web-1.2.4.jar
rm -rf ./dist
rm -rf $HOME/orion-ops/lib/machine-monitor-agent-latest.jar
rm -rf ./machine-monitor-agent-latest.jar
+5
View File
@@ -0,0 +1,5 @@
#/bin/bash
git clean -df
git reset --hard HEAD
git pull
git log -n 1