From 556514b9f5e1e6d911e436b19ded624fb3763895 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Pedro=20Sousa?= Date: Tue, 19 Dec 2023 16:49:51 +0000 Subject: [PATCH] fixes --- .github/scripts/latest.js | 3 ++- .github/workflows/nightly.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/scripts/latest.js b/.github/scripts/latest.js index 44feeda..3052b74 100644 --- a/.github/scripts/latest.js +++ b/.github/scripts/latest.js @@ -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 } diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 380245a..15e1206 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -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"