diff --git a/package/gluon-core/Makefile b/package/gluon-core/Makefile
index c064694f854030db8964f84fd368d5d7c0e7e00b..5872dac3d70e8ee8cc771781fc7b41023ad6b49e 100644
--- a/package/gluon-core/Makefile
+++ b/package/gluon-core/Makefile
@@ -27,7 +27,6 @@ define Build/Configure
 endef
 
 define Build/Compile
-	echo "$(GLUON_RELEASE)" > $(PKG_BUILD_DIR)/release
 endef
 
 define Package/gluon-core/install
@@ -35,7 +34,7 @@ define Package/gluon-core/install
 	$(GLUON_GENERATE) ./generate/* $(1)/
 
 	$(INSTALL_DIR) $(1)/lib/gluon
-	$(INSTALL_DATA) $(PKG_BUILD_DIR)/release $(1)/lib/gluon/release
+	echo "$(GLUON_RELEASE)" > $(1)/lib/gluon/release
 endef
 
 $(eval $(call BuildPackage,gluon-core))