release
This commit is contained in:
6
makefile
6
makefile
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user