Add ability to embed a version number
Signed-off-by: AKP <tom@tdpain.net>
This commit is contained in:
parent
2acd662dd6
commit
cc77a0fed2
2 changed files with 10 additions and 0 deletions
7
setVersionNumber.sh
Normal file
7
setVersionNumber.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cat << EOF > walrss/internal/core/version.go
|
||||
package core
|
||||
|
||||
const Version = "$1"
|
||||
EOF
|
3
walrss/internal/core/version.go
Normal file
3
walrss/internal/core/version.go
Normal file
|
@ -0,0 +1,3 @@
|
|||
package core
|
||||
|
||||
const Version = ""
|
Loading…
Add table
Add a link
Reference in a new issue