mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Add _incr_version to contrib/
This commit is contained in:
		
							parent
							
								
									00d846fb91
								
							
						
					
					
						commit
						06c894cada
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								contrib/_incr_version
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								contrib/_incr_version
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,6 @@
 | 
				
			||||||
 | 
					#!/bin/sh -eu
 | 
				
			||||||
 | 
					old_version="$1"
 | 
				
			||||||
 | 
					new_version="$2"
 | 
				
			||||||
 | 
					sed -i meson.build -e "s/version: '$old_version'/version: '$new_version'/g"
 | 
				
			||||||
 | 
					git add meson.build
 | 
				
			||||||
 | 
					git commit -m "Update version to $new_version"
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue