mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 16:39:24 +02:00
Merge pull request #3577 from laughedelic/patch-1
Changed default version setting to 0.1.0-SNAPSHOT
This commit is contained in:
@@ -187,7 +187,7 @@ object Defaults extends BuildCommon {
|
||||
},
|
||||
crossVersion :== Disabled(),
|
||||
buildDependencies := Classpaths.constructBuildDependencies.value,
|
||||
version :== "0.1-SNAPSHOT",
|
||||
version :== "0.1.0-SNAPSHOT",
|
||||
classpathTypes :== Set("jar", "bundle") ++ CustomPomParser.JarPackagings,
|
||||
artifactClassifier :== None,
|
||||
checksums := Classpaths.bootChecksums(appConfiguration.value),
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
### Improvements
|
||||
|
||||
- Changes `version` setting default to `0.1.0-SNAPSHOT` for compatibility with Semantic Versioning
|
||||
@@ -1,4 +1,4 @@
|
||||
$ mkdir target/scala-2.12/delete-target_2.12-0.1-SNAPSHOT.jar
|
||||
$ touch target/scala-2.12/delete-target_2.12-0.1-SNAPSHOT.jar/hello
|
||||
$ mkdir target/scala-2.12/delete-target_2.12-0.1.0-SNAPSHOT.jar
|
||||
$ touch target/scala-2.12/delete-target_2.12-0.1.0-SNAPSHOT.jar/hello
|
||||
-> package
|
||||
$ exists target/scala-2.12/delete-target_2.12-0.1-SNAPSHOT.jar/hello
|
||||
$ exists target/scala-2.12/delete-target_2.12-0.1.0-SNAPSHOT.jar/hello
|
||||
|
||||
Reference in New Issue
Block a user