beautify release script
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								3605e478e6
							
						
					
				
			
			
				commit
				
					
						55ec36b562
					
				
			
		
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
					@ -23,6 +23,8 @@ echo "lib: $lib_version"
 | 
				
			||||||
if [ "$lib_version" != "$changelog_version" ]; then
 | 
					if [ "$lib_version" != "$changelog_version" ]; then
 | 
				
			||||||
    echo "Messed up versions, not releasing"
 | 
					    echo "Messed up versions, not releasing"
 | 
				
			||||||
    exit 1
 | 
					    exit 1
 | 
				
			||||||
 | 
					else
 | 
				
			||||||
 | 
					    echo "Version are sane, continuing"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
echo "Press enter to continue"
 | 
					echo "Press enter to continue"
 | 
				
			||||||
read wait
 | 
					read wait
 | 
				
			||||||
| 
						 | 
					@ -32,7 +34,7 @@ version=$lib_version
 | 
				
			||||||
branch=${version%.?}
 | 
					branch=${version%.?}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# add tag
 | 
					# add tag
 | 
				
			||||||
printf "Enter tag description for %s>" "$version"
 | 
					printf "Enter tag description for %s> " "$version"
 | 
				
			||||||
read tagmessage
 | 
					read tagmessage
 | 
				
			||||||
git tag "$version" -m "$tagmessage"
 | 
					git tag "$version" -m "$tagmessage"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue