Skip to content

Commit

Permalink
add debug for pre-release labels job
Browse files Browse the repository at this point in the history
skip-checks: true
  • Loading branch information
tom2drum committed Dec 28, 2023
1 parent 91c4946 commit 942b540
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 942b540

Please sign in to comment.