diff --git a/CHANGELOG.md b/CHANGELOG.md index 77a3850..fd88a01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Nothing yet +## [0.2.1] - 2024-01-25 + +### Fixed + +- Updated Makefile to new project names + ## [0.2.0] - 2024-01-23 ### Added @@ -33,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - initial version of the repo - ts-info tool -[Unreleased]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.2.0...HEAD -[v0.2.0]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.1.0...v0.2.0 +[Unreleased]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.2.1...HEAD +[0.2.1]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.2.0...v0.2.1 +[0.2.0]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.1.0...v0.2.0 [0.1.0]: https://github.com/Eyevinn/mp2ts-tools/releases/tag/v0.1.0 diff --git a/Makefile b/Makefile index f0b290c..1a347fa 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ all: test check coverage build .PHONY: build -build: ts-info +build: mp2ts-info mp2ts-nallister mp2ts-pslister .PHONY: prepare prepare: go mod tidy -ts-info: +mp2ts-info mp2ts-nallister mp2ts-pslister: 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 .PHONY: test @@ -18,9 +18,7 @@ test: prepare .PHONY: coverage coverage: # Ignore (allow) packages without any tests - set -o pipefail go test ./... -coverprofile coverage.out - set +o pipefail go tool cover -html=coverage.out -o coverage.html go tool cover -func coverage.out -o coverage.txt tail -1 coverage.txt diff --git a/internal/version.go b/internal/version.go index 05d4d37..faa14f4 100644 --- a/internal/version.go +++ b/internal/version.go @@ -7,8 +7,8 @@ import ( ) var ( - commitVersion string = "v0.2.0" // May be updated using build flags - commitDate string = "1706026456" // commitDate in Epoch seconds (may be overridden using build flags) + commitVersion string = "v0.2.1" // May be updated using build flags + commitDate string = "1706176128" // commitDate in Epoch seconds (may be overridden using build flags) ) // GetVersion - get version and also commitHash and commitDate if inserted via Makefile