Bump version to 2.3.0
Include version and git hash information in openolt deb package name.
Change-Id: Ia59db34a0993bcfcade64807c623754ca284d766
diff --git a/VERSION b/VERSION
index 04b10b4..276cbf9 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.7
+2.3.0
diff --git a/agent/Makefile.in b/agent/Makefile.in
index b72d5de..0e4bded 100644
--- a/agent/Makefile.in
+++ b/agent/Makefile.in
@@ -305,7 +305,7 @@
cp $(BUILD_DIR)/libbal_host_api.so device/$(OPENOLTDEVICE)/mkdebian/debian
cp -a scripts/init.d device/$(OPENOLTDEVICE)/mkdebian/debian
cd device/$(OPENOLTDEVICE)/mkdebian && ./build_$(OPENOLTDEVICE)_deb.sh
- mv device/$(OPENOLTDEVICE)/*.deb $(BUILD_DIR)/openolt_$(OPENOLTDEVICE).deb
+ mv device/$(OPENOLTDEVICE)/*.deb $(BUILD_DIR)/openolt_$(OPENOLTDEVICE)-$(VERSION)-$(LABEL_VCS_REF).deb
make deb-cleanup
src/%.o: %.cpp
@@ -336,7 +336,7 @@
@rm -f $(BUILD_DIR)/openolt
@rm -f $(BUILD_DIR)/dev_mgmt_daemon
@rm -f $(BUILD_DIR)/release_$(OPENOLTDEVICE)_V$(BAL_VER).$(DEV_VER).tar.gz
- @rm -f $(BUILD_DIR)/openolt_$(OPENOLTDEVICE).deb
+ @rm -f $(BUILD_DIR)/openolt_$(OPENOLTDEVICE)-$(VERSION)-$(LABEL_VCS_REF).deb
clean-src: protos-clean
@rm -f $(OBJS) $(DEPS)