8 lines
		
	
	
		
			251 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			251 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
[ $# -eq 0 ] && { echo "Usage: $0 <version>"; exit 1; }
 | 
						|
 | 
						|
sed -i "s/%define _version.*/%define _version $1/" rpmbuild/qcma.spec
 | 
						|
sed -i "s/VERSION = .*/VERSION = $1/"     config.pri
 | 
						|
echo "Don't forget to update the changelog and nsis script"
 |