Skip to content

Commit 2f00fbf

Browse files
authored
v0.2.1: update Makefile with new tool names (#17)
* fix: update Makefile with new tool names * docs: v0.2.1
1 parent f1ad982 commit 2f00fbf

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

CHANGELOG.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Nothing yet
1111

12+
## [0.2.1] - 2024-01-25
13+
14+
### Fixed
15+
16+
- Updated Makefile to new project names
17+
1218
## [0.2.0] - 2024-01-23
1319

1420
### Added
@@ -33,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3339
- initial version of the repo
3440
- ts-info tool
3541

36-
[Unreleased]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.2.0...HEAD
37-
[v0.2.0]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.1.0...v0.2.0
42+
[Unreleased]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.2.1...HEAD
43+
[0.2.1]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.2.0...v0.2.1
44+
[0.2.0]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.1.0...v0.2.0
3845
[0.1.0]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.1.0

Makefile

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
all: test check coverage build
33

44
.PHONY: build
5-
build: ts-info
5+
build: mp2ts-info mp2ts-nallister mp2ts-pslister
66

77
.PHONY: prepare
88
prepare:
99
go mod tidy
1010

11-
ts-info:
11+
mp2ts-info mp2ts-nallister mp2ts-pslister:
1212
go build -ldflags "-X github.com/Eyevinn/mp2ts-tools/internal.commitVersion=$$(git describe --tags HEAD) -X github.com/Eyevinn/mp2ts-tools/internal.commitDate=$$(git log -1 --format=%ct)" -o out/$@ ./cmd/$@/main.go
1313

1414
.PHONY: test
@@ -18,9 +18,7 @@ test: prepare
1818
.PHONY: coverage
1919
coverage:
2020
# Ignore (allow) packages without any tests
21-
set -o pipefail
2221
go test ./... -coverprofile coverage.out
23-
set +o pipefail
2422
go tool cover -html=coverage.out -o coverage.html
2523
go tool cover -func coverage.out -o coverage.txt
2624
tail -1 coverage.txt

internal/version.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
)
88

99
var (
10-
commitVersion string = "v0.2.0" // May be updated using build flags
11-
commitDate string = "1706026456" // commitDate in Epoch seconds (may be overridden using build flags)
10+
commitVersion string = "v0.2.1" // May be updated using build flags
11+
commitDate string = "1706176128" // commitDate in Epoch seconds (may be overridden using build flags)
1212
)
1313

1414
// GetVersion - get version and also commitHash and commitDate if inserted via Makefile

0 commit comments

Comments
 (0)