diff --git a/makefile b/makefile index 0c3d5ab8..d12ea5f5 100644 --- a/makefile +++ b/makefile @@ -2,6 +2,7 @@ PROJECT = OMC VERSION = 5GC1.0.0 +RelDate = `date +%Y%m%d` PLATFORM = amd64 ARMPLATFORM = aarch64 GitLocalRoot = $(HOME)/local.git @@ -81,7 +82,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).$(PLATFORM).`date +%Y%m%d`.deb + dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION).$(RelDate).$(PLATFORM).deb rpm: $(BINNAME) cp -rf ./restagent/$(RESTAGENT) $(BinDir)