Skip to content

Commit

Permalink
Debug release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shBLOCK committed May 9, 2024
1 parent 0c7a035 commit 9b13ff0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
id: determine_tag
uses: actions/github-script@v7
with:
debug: true
# noinspection TypeScriptUnresolvedReference
script: |
const specified_tag = context.payload.inputs && context.payload.inputs.tag
Expand Down Expand Up @@ -73,6 +72,7 @@ jobs:
core.info(`Using tag: ${tag.name}`)
core.info(`Message: ${commit.message}`)
core.notice(`Using tag: ${tag.name}`)
core.notice(`Message: ${commit.message}`)
core.setOutput("tag", tag.name)
core.setOutput("message", commit.message)
Expand All @@ -84,8 +84,10 @@ jobs:
- name: Validate Tag
uses: actions/github-script@v7
with:
debug: true
# noinspection TypeScriptUnresolvedReference
script: |
console.log(JSON.stringify(context))
const version_pattern = new RegExp("version\s*=\s*\"(?<version>[^\"]+])\"")
const tag = ""
if (tag[0] != "v") {
Expand Down

0 comments on commit 9b13ff0

Please sign in to comment.