-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Match package version number to Hugo version number #105
Comments
Agreed, it would be nice to be able to choose the version of Hugo by choosing the matching version of this package. |
I concur, its very confusing that (hugo-bin) version 0.49.0 is (hugo) version 0.61.0. |
Yes, I was about to create a ticket for that but found out that this is actually a common problem. Please consider aligning the |
I wanted to do that, but there's no guarantee the versions will stay in sync. So I left things as they were since the beginning. /CC @satoshun00 |
Make your new commits (don't publish) as long at the version you set with npm version is > the current published version npm publish will work. this could be part of a bash script that you run. I have one to update hugo(extended) on any linux machine and it checks for updates first and parses the version number that could be used in npm version. Could been done as a 'cron' job that way no one need to manually update this package when hugo binary is updated. Anyway might be of some help/inspiration. Here is my script another thought |
Thank you for suggestion.
|
@XhmikosR @satoshun00: you can use version suffixes |
Sorry, personally I have no interest in this. So, unless it's automated, I will continue using |
At first glance browsing npmjs.com I thought this hadn't been updated since Hugo v0.48 — I'm glad I was wrong since this package is incredibly useful, but is there any reason the version numbers for this package can't match the version numbers for the Hugo binary that's downloaded (going forward of course)? Not a huge deal but it might make things more intuitive (and it'd be nice to know which version of Hugo a site is using just by looking at
package.json
).Thanks for actually keeping this package up to date, though! 😉
The text was updated successfully, but these errors were encountered: