fregante/daily-version-action

Avoid releasing version on certain commits

Open

#16 aperta il 16 gen 2021

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)JavaScript (5 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (22 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Some commits don't need to be released as their own version, so there could be a way to ignore them. For example this can be done via ignore an option that excludes commits based on their title (like this other action) or simply by detecting [norelease] in the commit description

Current logic:

if HEAD is tagged
	exit

Desired logic:

commit = HEAD
while commit is ignored
	commit = commit.parent

if commit is tagged
	exit

Guida contributor