mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-10-26 08:42:29 +01:00 
			
		
		
		
	Updating build_asf from the 4.1 branch, where I fixed a couple of things
This commit is contained in:
		
							parent
							
								
									211b180d55
								
							
						
					
					
						commit
						7df0d3a23b
					
				| @ -92,8 +92,14 @@ echo "found $currentversion" | |||||||
| echo 'setting version numbers' | echo 'setting version numbers' | ||||||
| mvn versions:set -DnewVersion=$version -P vmware -P developer -P systemvm -P simulator -P baremetal -P ucs -Dnonoss | mvn versions:set -DnewVersion=$version -P vmware -P developer -P systemvm -P simulator -P baremetal -P ucs -Dnonoss | ||||||
| mv deps/XenServerJava/pom.xml.versionsBackup deps/XenServerJava/pom.xml | mv deps/XenServerJava/pom.xml.versionsBackup deps/XenServerJava/pom.xml | ||||||
| perl -pi -e 's/$ENV{'currentversion'}/$ENV{'version'}/' deps/XenServerJava/pom.xml | perl -pi -e "s/-SNAPSHOT//" deps/XenServerJava/pom.xml | ||||||
| perl -pi -e 's/$ENV{'currentversion'}/$ENV{'version'}/' tools/apidoc/pom.xml | perl -pi -e "s/-SNAPSHOT//" tools/apidoc/pom.xml | ||||||
|  | case "$currentversion" in  | ||||||
|  |   *-SNAPSHOT*) | ||||||
|  |     perl -pi -e 's/-SNAPSHOT//' debian/rules | ||||||
|  |     ;; | ||||||
|  | esac | ||||||
|  | 
 | ||||||
| git clean -f | git clean -f | ||||||
| 
 | 
 | ||||||
| echo 'commit changes' | echo 'commit changes' | ||||||
| @ -158,4 +164,8 @@ if [ "$committosvn" == "yes" ]; then | |||||||
|   svn commit -m "Committing release candidate artifacts for $version to dist/dev/cloudstack in preparation for release vote" |   svn commit -m "Committing release candidate artifacts for $version to dist/dev/cloudstack in preparation for release vote" | ||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
|  | echo 'revert version changes' | ||||||
|  | cd $sourcedir | ||||||
|  | git revert --no-edit $commitsh | ||||||
|  | 
 | ||||||
| echo "completed.  use commit-sh of $commitsh when starting the VOTE thread" | echo "completed.  use commit-sh of $commitsh when starting the VOTE thread" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user