Skip to content

Commit cceca8e

Browse files
committed
fix: remove git cli from defaults in make
1 parent b18ae7e commit cceca8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
make REVISION=$GITHUB_SHA install
4646
- name: make test
4747
run: |
48-
make REVISION=$GITHUB_SHA test
48+
make GIT_TAG=$SEMVER REVISION=$GITHUB_SHA test
4949
- name: Publish Junit style Test Report
5050
uses: mikepenz/action-junit-report@v3
5151
if: always() # always run even if the previous step fails

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ OWNER := dnitsch
33
NAME := configmanager
44
GIT_TAG := "1.18.0"
55
VERSION := "v$(GIT_TAG)"
6-
REVISION := $(shell git rev-parse --short HEAD)
6+
REVISION := "aaaabbbbb1234"
77

88
LDFLAGS := -ldflags="-s -w -X \"github.com/$(OWNER)/$(NAME)/cmd/configmanager.Version=$(VERSION)\" -X \"github.com/$(OWNER)/$(NAME)/cmd/configmanager.Revision=$(REVISION)\" -extldflags -static"
99

0 commit comments

Comments
 (0)