mirror of
				https://gogs.blitter.com/RLabs/xs
				synced 2024-08-14 10:26:42 +00:00 
			
		
		
		
	Bumped version, xc reports -v correctly
Signed-off-by: Russ Magee <rmagee@gmail.com>
This commit is contained in:
		
							parent
							
								
									62f630394b
								
							
						
					
					
						commit
						7d8f34a925
					
				
					 2 changed files with 6 additions and 6 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							|  | @ -1,4 +1,4 @@ | |||
| VERSION := 0.8.20 | ||||
| VERSION := 0.8.21 | ||||
| .PHONY: lint vis clean common client server passwd subpkgs install uninstall reinstall | ||||
| 
 | ||||
| ## Tag version of binaries with build info wrt.
 | ||||
|  |  | |||
							
								
								
									
										10
									
								
								xs/xs.go
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								xs/xs.go
									
										
									
									
									
								
							|  | @ -727,6 +727,11 @@ func main() { | |||
| 	} | ||||
| 	flag.Parse() | ||||
| 
 | ||||
| 	if vopt { | ||||
| 		fmt.Printf("version %s (%s)\n", version, gitCommit) | ||||
| 		exitWithStatus(0) | ||||
| 	} | ||||
| 
 | ||||
| 	if cpuprofile != "" { | ||||
| 		f, err := os.Create(cpuprofile) | ||||
| 		if err != nil { | ||||
|  | @ -802,11 +807,6 @@ func main() { | |||
| 		exitWithStatus(0) | ||||
| 	} | ||||
| 
 | ||||
| 	if vopt { | ||||
| 		fmt.Printf("version %s (%s)\n", version, gitCommit) | ||||
| 		exitWithStatus(0) | ||||
| 	} | ||||
| 
 | ||||
| 	if len(cmdStr) != 0 && (len(copySrc) != 0 || len(copyDst) != 0) { | ||||
| 		log.Fatal("incompatible options -- either cmd (-x) or copy ops but not both") | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue