mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Fix Script Homepage: add version during build step (#1155)
* Make variables exported * Auto-yes update-browserslist-db
This commit is contained in:
		@@ -43,6 +43,8 @@ rm -rf homepage-${RELEASE}
 | 
			
		||||
cd /opt/homepage
 | 
			
		||||
cp /opt/homepage/src/skeleton/* /opt/homepage/config
 | 
			
		||||
$STD pnpm install
 | 
			
		||||
export NEXT_PUBLIC_VERSION="v$RELEASE"
 | 
			
		||||
export NEXT_PUBLIC_REVISION="source"
 | 
			
		||||
$STD pnpm build
 | 
			
		||||
echo "${RELEASE}" >/opt/${APPLICATION}_version.txt
 | 
			
		||||
msg_ok "Installed Homepage v${RELEASE}"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user