-
Notifications
You must be signed in to change notification settings - Fork 50
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
Add the tlSitePublishTags
setting
#183
Conversation
site/src/main/scala/org/typelevel/sbt/TypelevelSitePlugin.scala
Outdated
Show resolved
Hide resolved
site/src/main/scala/org/typelevel/sbt/TypelevelSitePlugin.scala
Outdated
Show resolved
Hide resolved
Co-authored-by: Arman Bilge <armanbilge@gmail.com>
site/src/main/scala/org/typelevel/sbt/TypelevelSitePlugin.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this one, it was my fault to make it so confusing.
I think in general publishing site from tag can be a "thin ice" as you say. The problem is that tags can happen on any branch, including old ones, or new development branch. So if you forget to disable this setting and don't setup versioned sites, then if you publish an early milestone tag you could accidentally override your site for the stable version.
Co-authored-by: Arman Bilge <armanbilge@gmail.com>
So, is this waiting for something? |
Because sbt-typelevel publishes the site on every push, and you updated the docs in this PR (thanks for that!), I'll merge this one right before I release so that the docs are not predicting the future 😉 |
Thanks again! :) |
Fixes #137. Implemented the way as @armanbilge suggested.