This commit is contained in:
Stephan 2021-12-10 17:39:59 +01:00
parent f2db146379
commit 4e8f7f271f

View File

@ -9,7 +9,7 @@ jobs:
uses: actions/github-script@v4
with:
script: |
const tag = "v" + github.ref.substring(19)
const tag = "v" + "${{ github.ref }}".substring(19)
const rel = github.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
@ -39,7 +39,7 @@ jobs:
uses: actions/github-script@v4
with:
script: |
const tag = "v" + github.ref.substring(19)
const tag = "v" + "${{ github.ref }}".substring(19)
const rel = github.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,