diff --git a/package/gluon-core/Makefile b/package/gluon-core/Makefile
index a9483a0da9878bbbc136d63edc82ea28a9ef9f4f..7fa0761748090c819d9939f5fba5be3129d4c36d 100644
--- a/package/gluon-core/Makefile
+++ b/package/gluon-core/Makefile
@@ -27,11 +27,15 @@ define Build/Configure
 endef
 
 define Build/Compile
+	echo "$(GLUON_RELEASE)" > $(PKG_BUILD_DIR)/release
 endef
 
 define Package/gluon-core/install
 	$(CP) ./files/* $(1)/
 	$(GLUON_GENERATE) ./generate/* $(1)/
+
+	$(INSTALL_DIR) $(1)/lib/gluon
+	$(INSTALL_DATA) $(PKG_BUILD_DIR)/release $(1)/lib/gluon/release
 endef
 
 $(eval $(call BuildPackage,gluon-core))
diff --git a/package/gluon-core/generate/lib/gluon/release b/package/gluon-core/generate/lib/gluon/release
deleted file mode 100644
index b42b71b1db4895c29db5723c1a19684aa1190eaa..0000000000000000000000000000000000000000
--- a/package/gluon-core/generate/lib/gluon/release
+++ /dev/null
@@ -1 +0,0 @@
-@release@