chore: publish list of images to release notes

This uses `talosctl images`. This way it's easy to find installer image
or talos image for any release.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This commit is contained in:
Andrey Smirnov 2020-10-07 16:46:37 +03:00 committed by talos-bot
parent cdf6790b27
commit 7474f96d2d
2 changed files with 5 additions and 1 deletions

View File

@ -284,7 +284,7 @@ conformance: ## Performs policy checks against the commit and source code.
.PHONY: release-notes
release-notes:
./hack/release.sh $@ $(ARTIFACTS)/RELEASE_NOTES.md $(TAG)
ARTIFACTS=$(ARTIFACTS) ./hack/release.sh $@ $(ARTIFACTS)/RELEASE_NOTES.md $(TAG)
.PHONY: login
login: ## Logs in to the configured container registry.

View File

@ -15,6 +15,10 @@ function changelog {
function release-notes {
git-chglog --output ${1} -c ./hack/chglog/config.yml "${2}"
echo -e '## Images\n\n```' >> ${1}
${ARTIFACTS}/talosctl-linux-amd64 images >> ${1}
echo -e '```\n' >> ${1}
}
function cherry-pick {