Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
critesjosh committed Dec 19, 2023
1 parent b0309f9 commit 73d75d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/scripts/fetchRelease.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

async function main() {
console.log("Node.js version:", process.version);

const fetchOpts = {
headers: {},
};
Expand All @@ -13,12 +11,12 @@ async function main() {

const data = await res.json();

console.log(data)

const filtered = data.filter(
release => release.tag_name.includes('aztec-packages'),
);

console.log(filtered)

const latest = filtered.tag_name;

// TODO: add the prerelease to this object!
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
echo "Output from Node.js script: $version_tag"
- name: Check and update tutorials
run: bash ./update_tutorials.sh $version_tag
run: ls && bash ./update_tutorials.sh $version_tag

0 comments on commit 73d75d4

Please sign in to comment.