Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
signorecello committed Dec 19, 2023
1 parent b018ca7 commit 556514b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/scripts/latest.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ async function main() {
const latestStable = filtered.find(release => !release.prerelease).tag_name;
const latestPreRelease = filtered.find(release => release.prerelease).tag_name;

const workflowOutput = JSON.stringify({ stable: latestStable, prerelease: latestPreRelease });
// TODO: add the prerelease to this object!
const workflowOutput = JSON.stringify({ stable: latestStable });
console.log(workflowOutput); // DON'T REMOVE, GITHUB WILL CAPTURE THIS OUTPUT
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Get versions to test for drift
id: versions_step
run: |
output=$(node ./.github/scripts/latestStable.js)
output=$(node ./.github/scripts/latest.js)
echo "Output from Node.js script: $output"
echo "::set-output name=versionArray::$output"
Expand Down

0 comments on commit 556514b

Please sign in to comment.