release
This commit is contained in:
6
makefile
6
makefile
@@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
PROJECT = OMC
|
PROJECT = OMC
|
||||||
VERSION = 5GC1.0.0
|
VERSION = 5GC1.0.0
|
||||||
RelDate = `date +%Y%m%d`
|
RelVer = 1
|
||||||
|
RelDate = `date +%%Y%%m%%d`
|
||||||
|
Release = $(RelDate).$(RelVer)
|
||||||
PLATFORM = amd64
|
PLATFORM = amd64
|
||||||
ARMPLATFORM = aarch64
|
ARMPLATFORM = aarch64
|
||||||
GitLocalRoot = $(HOME)/local.git
|
GitLocalRoot = $(HOME)/local.git
|
||||||
@@ -94,7 +96,7 @@ deb: $(BINNAME)
|
|||||||
chmod +x $(DebBuildDir)/usr/local/omc/bin/*
|
chmod +x $(DebBuildDir)/usr/local/omc/bin/*
|
||||||
cp -rf $(BuildDir)/nginx/* $(DebBuildDir)/etc/nginx/conf.d
|
cp -rf $(BuildDir)/nginx/* $(DebBuildDir)/etc/nginx/conf.d
|
||||||
cp -rf $(BuildDir)/systemd/*.service $(DebBuildDir)/lib/systemd/system/
|
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)
|
rpm: $(BINNAME)
|
||||||
cp -rf ./restagent/$(RESTAGENT) $(BinDir)
|
cp -rf ./restagent/$(RESTAGENT) $(BinDir)
|
||||||
|
|||||||
Reference in New Issue
Block a user