Skip to content

Commit

Permalink
Merge pull request #1596 from metal3-io-bot/cherry-pick-1511-to-relea…
Browse files Browse the repository at this point in the history
…se-0.5

📖 fix previous release detection in make release-notes
  • Loading branch information
metal3-io-bot committed Mar 5, 2024
2 parents 6f7c3ea + fe78c9d commit 7205730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ mod: ## Clean up go module settings
## Release
## --------------------------------------
RELEASE_TAG ?= $(shell git describe --abbrev=0 2>/dev/null)
PREVIOUS_TAG ?= $(shell git tag -l | grep -B 1 $(RELEASE_TAG) | head -n 1)
PREVIOUS_TAG ?= $(shell git tag -l | grep -B 1 "^$(RELEASE_TAG)" | head -n 1)
RELEASE_NOTES_DIR := releasenotes

$(RELEASE_NOTES_DIR):
Expand Down

0 comments on commit 7205730

Please sign in to comment.