mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	fix: make sure app folder is created
This commit is contained in:
		
							parent
							
								
									4d78035e78
								
							
						
					
					
						commit
						7bf6b63721
					
				@ -14,14 +14,14 @@ cross build --target=armv7-unknown-linux-musleabihf -p lldap --release
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
VERSION=$(git describe --tags)
 | 
					VERSION=$(git describe --tags)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mkdir -p /tmp/release/x86_64
 | 
					mkdir -p /tmp/release/x86_64/app
 | 
				
			||||||
cp target/release/lldap /tmp/release/x86_64
 | 
					cp target/release/lldap /tmp/release/x86_64
 | 
				
			||||||
cp -R app/index.html app/main.js app/pkg app/static /tmp/release/x86_64/app
 | 
					 | 
				
			||||||
cp -R lldap_config.docker_template.toml README.md LICENSE /tmp/release/x86_64
 | 
					cp -R lldap_config.docker_template.toml README.md LICENSE /tmp/release/x86_64
 | 
				
			||||||
 | 
					cp -R app/index.html app/main.js app/pkg app/static /tmp/release/x86_64/app/
 | 
				
			||||||
tar -czvf lldap-x86_64-${VERSION}.tar.gz /tmp/release/x86_64
 | 
					tar -czvf lldap-x86_64-${VERSION}.tar.gz /tmp/release/x86_64
 | 
				
			||||||
 | 
					
 | 
				
			||||||
mkdir -p /tmp/release/armv7
 | 
					mkdir -p /tmp/release/armv7/app
 | 
				
			||||||
cp target/armv7-unknown-linux-musleabihf/release/lldap /tmp/release/armv7
 | 
					cp target/armv7-unknown-linux-musleabihf/release/lldap /tmp/release/armv7
 | 
				
			||||||
cp -R app/index.html app/main.js app/pkg app/static /tmp/release/armv7/app
 | 
					 | 
				
			||||||
cp -R lldap_config.docker_template.toml README.md LICENSE /tmp/release/armv7
 | 
					cp -R lldap_config.docker_template.toml README.md LICENSE /tmp/release/armv7
 | 
				
			||||||
 | 
					cp -R app/index.html app/main.js app/pkg app/static /tmp/release/armv7/app/
 | 
				
			||||||
tar -czvf lldap-armv7-${VERSION}.tar.gz /tmp/release/armv7
 | 
					tar -czvf lldap-armv7-${VERSION}.tar.gz /tmp/release/armv7
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user