mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-30 02:43:05 +00:00
commit
ba40a40b73
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
||||||
version = $(shell ./scripts/version-at-commit.sh)
|
version = $(shell ./scripts/version-at-commit.sh)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
go build -ldflags "-s -w -X main.version=$(version)" cmd/headscale/headscale.go
|
go build -ldflags "-s -w -X github.com/juanfont/headscale/cmd/headscale/cli.version=$(version)" cmd/headscale/headscale.go
|
||||||
|
|
||||||
dev: lint test build
|
dev: lint test build
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e -o pipefail
|
set -e -o pipefail
|
||||||
commit="$1"
|
commit="$1"
|
||||||
|
|
Loading…
Reference in a new issue