mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
add debug for pre-release labels job
skip-checks: true
This commit is contained in:
@@ -40,7 +40,9 @@ jobs:
|
||||
const tag = process.env.TAG;
|
||||
const REGEXP = /^v[0-9]+.[0-9]+.[0-9]+-[a-z]+((\.|-)\d+)?$/i;
|
||||
const match = tag.match(REGEXP);
|
||||
return match && !match[1] ? 'true' : 'false';
|
||||
const isInitial = match && !match[1] ? true : false;
|
||||
core.info('is_initial flag value: ', isInitial);
|
||||
return isInitial;
|
||||
|
||||
label_issues:
|
||||
name: Add pre-release label to issues
|
||||
|
||||
Reference in New Issue
Block a user