mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Fix version number
This commit is contained in:
		
							parent
							
								
									b8aea8b34c
								
							
						
					
					
						commit
						e9157c7828
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								build.sh
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								build.sh
									
										
									
									
									
								
							|  | @ -157,7 +157,7 @@ if [ -f "$OMR_TARGET_CONFIG" ]; then | |||
| 	CONFIG_VERSIONOPT=y | ||||
| 	CONFIG_VERSION_DIST="$OMR_DIST" | ||||
| 	CONFIG_VERSION_REPO="$OMR_REPO" | ||||
| 	CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" describe --tags `git rev-list --tags --max-count=1`)-$(git rev-parse --short HEAD)" | ||||
| 	CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" tag --sort=committerdate | tail -1)-$(git -C "$OMR_FEED" rev-parse --short HEAD)" | ||||
| 	EOF | ||||
| else | ||||
| 	cat config -> "$OMR_TARGET/source/.config" <<-EOF | ||||
|  | @ -165,7 +165,7 @@ else | |||
| 	CONFIG_VERSIONOPT=y | ||||
| 	CONFIG_VERSION_DIST="$OMR_DIST" | ||||
| 	CONFIG_VERSION_REPO="$OMR_REPO" | ||||
| 	CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" describe --tags `git rev-list --tags --max-count=1`)-$(git rev-parse --short HEAD)" | ||||
| 	CONFIG_VERSION_NUMBER="$(git -C "$OMR_FEED" tag --sort=committerdate | tail -1)-$(git -C "$OMR_FEED" rev-parse --short HEAD)" | ||||
| 	EOF | ||||
| fi | ||||
| if [ "$OMR_ALL_PACKAGES" = "yes" ]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue