Skip to content

Commit

Permalink
Fix bug in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic-DallOsto committed Sep 19, 2024
1 parent ae27ed3 commit 7be167f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ jobs:
env:
FILES: build/update*.json
ARTEFACT_NAME_INPUT: "${{ inputs.artefactName }}"
RELEASE_TAG: 'update'
with:
releaseTag: 'update'
debug: true
script: |
const path = require('path');
Expand All @@ -96,7 +96,7 @@ jobs:
var { data: release } = await github.rest.repos.getReleaseByTag({
owner: context.repo.owner,
repo: context.repo.repo,
tag: '${{releaseTag}}'
tag: process.env.RELEASE_TAG,
});

console.log("found release " + release.name)
Expand Down

0 comments on commit 7be167f

Please sign in to comment.