Skip to content

Commit

Permalink
chore: hardcoding releasing number temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
helloanoop committed Oct 27, 2023
1 parent 8fc5fc6 commit e3a749a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/downloads.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export async function getStaticProps() {

return {
props: {
latestVersion: data.tag_name.replace('v', ''),
latestVersion: '0.27.2',
// disabling this for now
// latestVersion: data.tag_name.replace('v', ''),
releaseDate: new Intl.DateTimeFormat('en-US', { year: 'numeric', month: 'short', day: 'numeric' }).format(new Date(data.created_at)),
},
revalidate: 60*15, // refresh every 15 minutes
Expand Down

0 comments on commit e3a749a

Please sign in to comment.