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
goreleaser.com docs are not versioned, which may lead to confusion #3317
Comments
As a workaround, I did this: dockers:
# where actual docker build and pub happens
release:
ids:
- none
# ^ so as to not include any of the archives |
yes, didn't use to be as much as an issue, need to work on that eventually |
a quick workaround would be to deploy only tags, so docs are always up to date with latest... another idea would be to hack around this and deploy last N tags + main, which seems like would be a bit more work... |
played around with https://github.com/jimporter/mike a bit today, it seems to work OK, if deployed to github pages... will also need to hack a 404.html to not break references all over the internet 🤣 buttttt, if you wanna take a look: https://caarlos0.github.io/goreleaser/ my 404.html hack allows things like https://caarlos0.github.io/goreleaser/customization/checksum/ to work, which is nice, although it does 2 redirects... we would also have to document, somewhere, how many version we're going to keep, e.g. 5 minors plus all patches of latest 2 minors... that would require some manual work on my part (runing Another thing to handle is the current static files serving, which will have to be copied to the root folder as well (e.g. scrips, version.json, etc) thoughts? |
versioned all new options since v1.2 (late 2021). Should be enough to fix #3317 for now. Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
went up with a simpler approach, just commenting the options adding in which version they were added. |
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. |
What happened?
I have a usecase similar to #3268 (found this discussion later). I was following the docs from https://goreleaser.com/customization/release/
And was confused on why the latest release v1.10.3 was giving an error:
I think the feature #3282 where the
skip_upload
was implemented is slated for v1.11.0. This confusion can be avoided by having a versioned doc. For example https://yamllint.readthedocs.io/en/stable/ vs https://yamllint.readthedocs.io/en/v1.10.0/How can we reproduce this?
goreleaser init
to producegoreleaser.yaml
release.skip_upload: true
entry to the YAML abovegoreleaser check
goreleaser version
> goreleaser --version goreleaser version 1.10.3 commit: 315935aedc9908b078ae525b33ddb42b2fafcc54 built at: 2022-07-27T12:55:55Z built by: goreleaser goos: darwin goarch: amd64 module version: v1.10.3, checksum: h1:mNSqSgqOwCyJCEmL35aDvGsZaucKF9yQyARxznqCtDM= https://goreleaser.com
GoReleaser Check
Search
Code of Conduct
Additional context
Awesome tool. Keep up the good work 🤗.
The text was updated successfully, but these errors were encountered: