-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
11 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |