elastic/cloud-sdk-go

Generate version folder in .changelog on a version bump

Closed this issue · 1 comments

Description

Github Actions job modified in #360 failed because we don't have any changes so far.

To make the job more robust we need to generate a version folder in .changelog/ on a version bump. It should be implemented in https://github.com/elastic/cloud-sdk-go/blob/master/build/Makefile.version

I tried but it will not work easily. It will fail on make changelog fails on https://github.com/elastic/cloud-sdk-go/blob/master/cmd/changelogger/main.go#L183 because no changes.

I think it's ok to accept that CI job on commit to master might fail when there are no changes.