You've already forked prometheus-fail2ban-exporter-charts
							
							chore(ci): use git tag sort to get last two tags
This commit is contained in:
		| @@ -26,8 +26,8 @@ jobs: | ||||
|         run: | | ||||
|           git tag | ||||
|  | ||||
|           NEW_TAG="$(git describe --abbrev=0)" | ||||
|           OLD_TAG="$(git describe --abbrev=0 --tags "$(git rev-list --tags --skip=1 --max-count=1)")" | ||||
|           NEW_TAG="$(git tag --sort=-version:refname | head -n 1)" | ||||
|           OLD_TAG="$(git tag --sort=-version:refname | head -n 2 | tail -n 1)" | ||||
|  | ||||
|           .gitea/scripts/add-annotations.sh "${OLD_TAG}" "${NEW_TAG}" | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user