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

Hugo extended BuildDate shows as unknown on Windows 10 #7551

Closed
jflipp opened this issue Aug 12, 2020 · 3 comments
Closed

Hugo extended BuildDate shows as unknown on Windows 10 #7551

jflipp opened this issue Aug 12, 2020 · 3 comments
Milestone

Comments

@jflipp
Copy link

jflipp commented Aug 12, 2020

Here's a minor bug.

I use hugo v0.74.3 and hugo extended v0.74.3 on Windows 10 64 Bit.

When I execute the version subcommand, I get the following output.

C:\Test> C:\Test\hugo_0.74.3_Windows-64bit\hugo.exe version
Hugo Static Site Generator v0.74.3-DA0437B4 windows/amd64 BuildDate: 2020-07-23T16:23:30Z

C:\Test> "C:\Test\hugo_extended_0.74.3_Windows-64bit\hugo.exe version
Hugo Static Site Generator v0.74.3/extended windows/amd64 BuildDate: unknown

We see that the regular version of Hugo shows a reasonable BuildDate, but the extended version of Hugo shows BuildDate: unknown.

Maybe you want to look into this.

As far as I know, v0.74.3 is currently the latest release of Hugo.

Thank you.

@bep bep added the Bug label Aug 12, 2020
@bep bep added this to the v0.75 milestone Aug 12, 2020
@bep bep modified the milestones: v0.75, v0.76 Sep 14, 2020
@bep bep modified the milestones: v0.76, v0.77 Oct 6, 2020
@ivanvc
Copy link

ivanvc commented Oct 9, 2020

@bep I tracked down this bug, which has to do with an old version of goreleaser. I could reproduce it with versions v0.112.2 and older.

The latest version is v0.143.0, but it will need a minor change in the goreleaser.yml file. I can do a PR for this, but the most important thing would be to document and make sure that whoever is doing the release is using that version.

ivanvc added a commit to ivanvc/hugo that referenced this issue Oct 12, 2020
In order to use the latest version of goreleaser (v0.144.1), the nfpms
`name_template` field must be updated to `file_name_template`. This
update is related to issue gohugoio#7551, as an old version of goreleaser has
been used to generate the binaries.

Fixes gohugoio#7551.
@bep bep modified the milestones: v0.77, v0.78 Oct 30, 2020
@bep bep modified the milestones: v0.78, v0.83 Apr 23, 2021
@bep bep modified the milestones: v0.83, v0.84 May 3, 2021
@jmooring
Copy link
Member

Unable to reproduce with v0.83.1.

hugo v0.83.1-5AFE0A57+extended windows/amd64 BuildDate=2021-05-02T14:38:05Z VendorInfo=gohugoio

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants