This commit is contained in:
simonzhangsz committed 2023-09-04 15:40:44 +08:00
1 parent 6df61ce8d5
commit 0fe445cc28
1 file changed
+4 -2
+4 -2
View File
@@ -2,7 +2,9 @@
PROJECT = OMC
VERSION = 5GC1.0.0
RelDate = `date +%Y%m%d`
RelVer = 1
RelDate = `date +%%Y%%m%%d`
Release = $(RelDate).$(RelVer)
PLATFORM = amd64
ARMPLATFORM = aarch64
GitLocalRoot = $(HOME)/local.git
@@ -94,7 +96,7 @@ deb: $(BINNAME)
chmod +x $(DebBuildDir)/usr/local/omc/bin/*
cp -rf $(BuildDir)/nginx/* $(DebBuildDir)/etc/nginx/conf.d
cp -rf $(BuildDir)/systemd/*.service $(DebBuildDir)/lib/systemd/system/
dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION).$(RelDate).$(PLATFORM).deb
dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION).$(Release).$(PLATFORM).deb
rpm: $(BINNAME)
cp -rf ./restagent/$(RESTAGENT) $(BinDir)