add versioning (#11)
Reviewed-on: #11 Co-authored-by: phoenix <kundeng00@pm.me> Co-committed-by: phoenix <kundeng00@pm.me>
This commit is contained in:
@@ -1,2 +1,13 @@
|
||||
CLI software that processes a text file containing US phone numbers
|
||||
and sanitizes the numbers. The result is contained in a json file.
|
||||
|
||||
## Building
|
||||
```
|
||||
go build
|
||||
```
|
||||
|
||||
|
||||
To include version information
|
||||
```
|
||||
go build -ldflags "-X main.version=3.0.101 -X main.commit=$(git rev-parse HEAD) -X main.date=$(date +%Y-%m-%dT%H:%M:%S%z)" -o clean_file
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user