Skip to content

Commit fc6c1f0

Browse files
authored
Merge pull request #12 from bvankampen/remove-version-file
Remove VERSION file and use git tag for version
2 parents 749a165 + 1269fb1 commit fc6c1f0

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/release.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
name: goreleaser
33

44
on:
5-
pull_request:
65
push:
76
# run only against tags
87
tags:

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
21
COMMIT_ID=$(shell git rev-parse --short HEAD)
3-
VERSION=$(shell cat VERSION)
2+
VERSION=$(shell git describe --tags --abbrev=0 | sed 's/v//g')
43

54
NAME=ks
65

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)