Skip to content

Commit b5d03b2

Browse files
committed
chore: fix misc
1 parent 2d3d644 commit b5d03b2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Makefile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
SHELL := /usr/bin/env bash -Eeu -o pipefail
2-
REPO_ROOT := $(shell git rev-parse --show-toplevel || pwd || echo '.')
3-
REPO_LOCAL_DIR := ${REPO_ROOT}/.local
4-
REPO_TMP_DIR := ${REPO_ROOT}/.tmp
5-
PRE_PUSH := ${REPO_ROOT}/.git/hooks/pre-push
6-
GIT_TAG_LATEST := $(shell git describe --tags --abbrev=0)
7-
GIT_BRANCH_CURRENT := $(shell git rev-parse --abbrev-ref HEAD)
8-
GO_MODULE_NAME := github.com/kunitsucom/ccc
9-
BUILD_VERSION := $(shell git describe --tags --exact-match HEAD 2>/dev/null || git rev-parse --short HEAD)
10-
BUILD_REVISION := $(shell git rev-parse HEAD)
11-
BUILD_BRANCH := $(shell git rev-parse --abbrev-ref HEAD | tr / -)
12-
BUILD_TIMESTAMP := $(shell git log -n 1 --format='%cI')
1+
SHELL := /usr/bin/env bash -Eeu -o pipefail
2+
REPO_ROOT := $(shell git rev-parse --show-toplevel || pwd || echo '.')
3+
REPO_LOCAL_DIR := ${REPO_ROOT}/.local
4+
REPO_TMP_DIR := ${REPO_ROOT}/.tmp
5+
PRE_PUSH := ${REPO_ROOT}/.git/hooks/pre-push
6+
GIT_TAG_LATEST := $(shell git describe --tags --abbrev=0)
7+
GIT_BRANCH_CURRENT := $(shell git rev-parse --abbrev-ref HEAD)
8+
GO_MODULE_NAME := github.com/kunitsucom/ccc
9+
BUILD_VERSION := $(shell git describe --tags --exact-match HEAD 2>/dev/null || git rev-parse --short HEAD)
10+
BUILD_REVISION := $(shell git rev-parse HEAD)
11+
BUILD_BRANCH := $(shell git rev-parse --abbrev-ref HEAD | tr / -)
12+
BUILD_TIMESTAMP := $(shell git log -n 1 --format='%cI')
1313

1414
export PATH := ${REPO_LOCAL_DIR}/bin:${REPO_ROOT}/.bin:${PATH}
1515

0 commit comments

Comments
 (0)