fix(build): Fix shebang in build-release.sh
This commit is contained in:
		
							parent
							
								
									97bef90387
								
							
						
					
					
						commit
						3a688191af
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,3 +1,6 @@
 | 
				
			||||||
 | 
					#!/usr/bin/env bash
 | 
				
			||||||
 | 
					set -ueo pipefail
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Copyright (C) 2016-2017  Vincent Ambo <mail@tazj.in>
 | 
					# Copyright (C) 2016-2017  Vincent Ambo <mail@tazj.in>
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# This file is part of Kontemplate.
 | 
					# This file is part of Kontemplate.
 | 
				
			||||||
| 
						 | 
					@ -7,9 +10,6 @@
 | 
				
			||||||
# the Free Software Foundation, either version 3 of the License, or
 | 
					# the Free Software Foundation, either version 3 of the License, or
 | 
				
			||||||
# (at your option) any later version.
 | 
					# (at your option) any later version.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#!/bin/bash
 | 
					 | 
				
			||||||
set -ueo pipefail
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
readonly GIT_HASH="$(git rev-parse --short HEAD)"
 | 
					readonly GIT_HASH="$(git rev-parse --short HEAD)"
 | 
				
			||||||
readonly LDFLAGS="-X main.gitHash=${GIT_HASH} -w -s"
 | 
					readonly LDFLAGS="-X main.gitHash=${GIT_HASH} -w -s"
 | 
				
			||||||
readonly VERSION="1.6.0-${GIT_HASH}"
 | 
					readonly VERSION="1.6.0-${GIT_HASH}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue