From 392c2bb83d12a706fbef1fc2f8ead1bbf90a7650 Mon Sep 17 00:00:00 2001 From: Josh Crites Date: Tue, 19 Dec 2023 17:06:28 -0500 Subject: [PATCH] fix --- .github/scripts/fetchRelease.js | 4 ++-- update_contract.sh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/scripts/fetchRelease.js b/.github/scripts/fetchRelease.js index 73527ae..a36d4c3 100644 --- a/.github/scripts/fetchRelease.js +++ b/.github/scripts/fetchRelease.js @@ -18,8 +18,8 @@ async function main() { const latest = filtered[0].tag_name; // TODO: add the prerelease to this object! - const workflowOutput = JSON.stringify({ latest }); - console.log(workflowOutput); // DON'T REMOVE, GITHUB WILL CAPTURE THIS OUTPUT + // const workflowOutput = JSON.stringify({ latest }); + console.log(latest); // DON'T REMOVE, GITHUB WILL CAPTURE THIS OUTPUT } main(); \ No newline at end of file diff --git a/update_contract.sh b/update_contract.sh index 1d535b2..ce0402d 100755 --- a/update_contract.sh +++ b/update_contract.sh @@ -59,3 +59,5 @@ if [ $? -eq 0 ]; then else echo "Failed to clone the repository" fi + +rm -rf $tmp_dir