Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change build to autoname latest.json as YYYY-MM-DD.json #5

Merged
merged 2 commits into from
Feb 1, 2024
Merged

Change build to autoname latest.json as YYYY-MM-DD.json #5

merged 2 commits into from
Feb 1, 2024

Conversation

wojtekmaj
Copy link
Contributor

No description provided.

script/crawl.js Outdated
import.meta.url
)

await fs.rename(destination, finalDestination)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn’t it be easier to change the destination variable above? Then you don’t need this rename stuff.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course! Fixed 🤦

Signed-off-by: Wojciech Maj <kontakt@wojtekmaj.pl>
@wooorm wooorm changed the title Automatically rename latest.json to YYYY-MM-DD.json Change build to autoname latest.json as YYYY-MM-DD.json Feb 1, 2024
@wooorm wooorm merged commit 7b6086f into wooorm:main Feb 1, 2024
1 check passed
@wooorm
Copy link
Owner

wooorm commented Feb 1, 2024

Thanks :)

@wojtekmaj wojtekmaj deleted the auto-rename branch February 1, 2024 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants