Closed yarikoptic closed 1 year ago
@yarikoptic What should be done about already-pushed tags? Should the script just create a release for every tag that lacks a release?
ideally -- yes, create release for every tag matching the regex for our versions. Before that -- should be done in the order probably from older to newer. May be should not be done "all the time" but just as a helper command (release-already-existing-tags [dandisets]
) which we could run once. Then we would just rely on new pushed tags to be accompanied with making a release for them.
@yarikoptic
create release for every tag matching the regex for our versions.
Do you expect there to be tags that don't match the version regex?
I think always ensuring that all tags have releases would be easier than trying to figure out which tags were just pushed (unless you know an easy way to do that?).
ATM I don't know of any tags which aren't release tags, but who knows -- we might add/push some later on. But ok, mint for every tag, although I would have limited to simple (not extended) semver ones (MAJOR.MINOR.PATCH) .
As for checking all tags upon every push - I think that would introduce unnecessary burden which would slow down otherwise possibly fast push
which would not push any tag. But ok -- if you think that overhead is minimal, let's just always do that
@yarikoptic Tags are pushed here. Given this, creating releases will be easiest if a release is only created for a just-pushed tag. If you then want there to be a release-already-existing-tags
command, should this be a subcommand of backups2datalad
or a separate script?
@yarikoptic Tags are pushed here. Given this, creating releases will be easiest if a release is only created for a just-pushed tag.
yeap -- great, let's add there.
If you then want there to be a
release-already-existing-tags
command, should this be a subcommand ofbackups2datalad
or a separate script?
whatever is easiest/fastest -- I expect/hope to never use it again ;-)
ATM it just lists them as tags, but not readily shows the most recent tag/release. So we should mint a proper release for tags we push.