Skip to content

Commit

Permalink
fixing git versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
riomus committed Apr 2, 2019
1 parent 3246714 commit 202bf7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ before_script:
- git config --global user.email "riomus@gmail.com"
before_install:
- git fetch --tags


script:
- sbt clean compile coverage test coverageReport coverageAggregate
after_success:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ SparklingGraph provides easy to use set of features that will give you ability t

# Versioning

Since commit `9249c16` project is using git versioning (for example 0.3.0+10-4f489199). All artifacts from now one will be published to maven central, so there is no need to use snapshot versions that are not reproducible.
Since commit `3246714` project is using git versioning (for example `0.0.7+140-32467140` or `0.0.7+140-32467140+20190402-2057-SNAPSHOT`). All artifacts from now one will be published to snapshot without version overriding. New approach will also add abbility to reproduce each version. Release versions will use normal tag based approach.

# Dependencies

Since commit `9249c16` you can get artifacts for any master branch commits using `git describe` command.
Since commit `3246714` you can get artifacts for any master branch commits using `git describe` command.

## Snapshot
```
Expand Down
2 changes: 2 additions & 0 deletions project/Publish.scala
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
package ml.sparkling.graph

import com.typesafe.sbt._
import sbt.Keys._
import sbt._
object Publish extends AutoPlugin {


override lazy val projectSettings = Seq(
SbtGit.GitKeys.useGitDescribe := true,
licenses := Seq("BSD 2-Clause" -> url("http://opensource.org/licenses/BSD-2-Clause")),
homepage := Some(url("https://github.com/sparkling-graph/sparkling-graph")),
developers := List(Developer("riomus", "Roman Bartusiak", "riomus@gmail.com", url("https://bartusiak.ml"))),
Expand Down

0 comments on commit 202bf7c

Please sign in to comment.