mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-02 19:36:12 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			283 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			283 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
if [[ $# -eq 0 ]] ; then
 | 
						|
    echo "Missing argument of new version"
 | 
						|
    exit 1
 | 
						|
fi
 | 
						|
 | 
						|
VERSION=$1
 | 
						|
SERIES=${VERSION:0:4}-latest
 | 
						|
 | 
						|
docker push zadam/trilium:$VERSION
 | 
						|
docker push zadam/trilium:$SERIES
 | 
						|
 | 
						|
if [[ $1 != *"beta"* ]]; then
 | 
						|
  docker push zadam/trilium:latest
 | 
						|
fi
 |