Skip to content

Commit

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

📖 fix previous release detection in make release-notes
  • Loading branch information
metal3-io-bot authored Mar 5, 2024
2 parents e92d770 + aa7071b commit 5cec122
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 @@ -270,7 +270,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 5cec122

Please sign in to comment.