fix version setting
This commit is contained in:
		
							parent
							
								
									58e49c8b75
								
							
						
					
					
						commit
						72052f97a0
					
				|  | @ -35,7 +35,7 @@ URL="${SOURCE_URL}" | ||||||
| # This parameter is passed in as -X to go build. Used to override the Version variable in a package. | # This parameter is passed in as -X to go build. Used to override the Version variable in a package. | ||||||
| # This makes a path like github.com/user/hello-world/helloworld.Version=1.3.3 | # This makes a path like github.com/user/hello-world/helloworld.Version=1.3.3 | ||||||
| # Name the Version-containing library the same as the github repo, without dashes. | # Name the Version-containing library the same as the github repo, without dashes. | ||||||
| VERSION_PATH="${IMPORT_PATH}/$(echo ${BINARY} | tr -d -- -).Version" | VERSION_PATH="${IMPORT_PATH}/poller.Version" | ||||||
| 
 | 
 | ||||||
| # Dynamic. Recommend not changing. | # Dynamic. Recommend not changing. | ||||||
| VVERSION=$(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1)) | VVERSION=$(git describe --abbrev=0 --tags $(git rev-list --tags --max-count=1)) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue