Skip to content

Commit

Permalink
Prep for 2.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Jul 7, 2017
1 parent 5474173 commit 02b85d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Inspired by:

Add this to your sbt build plugins, in either `project/plugins.sbt` or `project/dynver.sbt`:

addSbtPlugin("com.dwijnand" % "sbt-dynver" % "2.0.0-M0")
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "2.0.0")

Then make sure to **NOT set the version setting**, otherwise you will override `sbt-dynver`.

Expand Down
16 changes: 10 additions & 6 deletions notes/2.0.0.markdown
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
### Changes
### Breaking Changes

- Consider untagged but 'clean' repositories as 'snapshots'.
#### Change in `isSnapshot` - now only tagged versions are not snapshots

Previously, because dynver generates a unique, stable version for each commit from a
non-dirty repository, it set `isSnapshot` to `false` for all of these. This made sense
since these versions are stable, immutable identifiers that can be relied upon for example
Previously, because sbt-dynver generates a unique, stable version for each commit from a
non-dirty repository, it set `isSnapshot` to `false` for this case. This made sense
since these versions are stable, immutable identifiers that can be relied upon, for example,
for caching, but did not correspond to the intuition of a 'snapshot' as an intermediate,
non-released version. From version 2.0.0 onwards, `isSnapshot` will only be false for tagged
releases, and the key `isVersionStable` can be used to determine whether the current version
is a stable identifier.
is a stable identifier, as well as a migration aid to sbt-dynve 2.x. [#23][]/[#42][] by [@raboof][]

[#23]: https://github.com/dwijnand/sbt-dynver/issues/23
[#42]: https://github.com/dwijnand/sbt-dynver/pull/42
[@raboof]: https://github.com/raboof

0 comments on commit 02b85d8

Please sign in to comment.