-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
In the unlikely case that there was no change at all in 24h between snapshots, the git commit would become a no-op with return code 1, which as it stands would fail the whole pipeline. Some options for this scenario:
|| truethe return code, meaning no tag will be created and we'll just proceed with tagging the previous commit.- detect no change and gracefully stop the pipeline without creating a tag at all.
- add
--allow-emptyso that we get a new commit no matter what. - let the pipeline just fail on those days.
- break up the pipeline into separate "detect" and "create" portions, where the first only triggers the second if changes actually exist to be captured.
Metadata
Metadata
Assignees
Labels
No labels