Changing name to sbt-gs-semver
This commit is contained in:
parent
ab65f33ae5
commit
2adf6ce66d
2 changed files with 4 additions and 14 deletions
16
README.md
16
README.md
|
@ -1,4 +1,4 @@
|
||||||
# gs-semver-sbt-plugin
|
# sbt-gs-semver
|
||||||
|
|
||||||
SemVer plugin for Garrity Software projects. Typically used for library
|
SemVer plugin for Garrity Software projects. Typically used for library
|
||||||
development.
|
development.
|
||||||
|
@ -32,7 +32,7 @@ This is an auto plugin that provides setting keys for version values.
|
||||||
```scala
|
```scala
|
||||||
resolvers += "Garrity Software Releases" at "https://maven.garrity.co/gs"
|
resolvers += "Garrity Software Releases" at "https://maven.garrity.co/gs"
|
||||||
|
|
||||||
addSbtPlugin("gs" % "gs-semver-sbt-plugin" % "0.1.0")
|
addSbtPlugin("gs" % "sbt-gs-semver" % "0.1.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
### Updating the Build File
|
### Updating the Build File
|
||||||
|
@ -132,7 +132,7 @@ sbt -Drelease=minor -Dsnapshot=true semVerInfo
|
||||||
```scala
|
```scala
|
||||||
resolvers += "Garrity Software Releases" at "https://maven.garrity.co/gs"
|
resolvers += "Garrity Software Releases" at "https://maven.garrity.co/gs"
|
||||||
|
|
||||||
addSbtPlugin("gs" % "gs-semver-sbt-plugin" % "0.1.0")
|
addSbtPlugin("gs" % "sbt-gs-semver" % "0.1.0")
|
||||||
```
|
```
|
||||||
|
|
||||||
### `build.sbt`
|
### `build.sbt`
|
||||||
|
@ -150,16 +150,6 @@ lazy val sharedSettings = Seq(
|
||||||
version := semVerSelected.value
|
version := semVerSelected.value
|
||||||
)
|
)
|
||||||
|
|
||||||
lazy val publishSettings = Seq(
|
|
||||||
publishTo := {
|
|
||||||
val repo = "https://maven.garrity.co/"
|
|
||||||
if (semVerSnapshot.value)
|
|
||||||
Some("Garrity Software Maven" at repo + "snapshots")
|
|
||||||
else
|
|
||||||
Some("Garrity Software Maven" at repo + "releases")
|
|
||||||
}
|
|
||||||
)
|
|
||||||
|
|
||||||
lazy val `gs-example` = project
|
lazy val `gs-example` = project
|
||||||
.in(file("."))
|
.in(file("."))
|
||||||
.settings(sharedSettings)
|
.settings(sharedSettings)
|
||||||
|
|
|
@ -7,7 +7,7 @@ externalResolvers := Seq(
|
||||||
"Garrity Software Maven Mirror" at "https://maven.garrity.co/releases"
|
"Garrity Software Maven Mirror" at "https://maven.garrity.co/releases"
|
||||||
)
|
)
|
||||||
|
|
||||||
val ProjectName: String = "gs-semver-sbt-plugin"
|
val ProjectName: String = "sbt-gs-semver"
|
||||||
val Description: String = "SBT 1.9.0+ plugin for Git-based semantic versioning."
|
val Description: String = "SBT 1.9.0+ plugin for Git-based semantic versioning."
|
||||||
|
|
||||||
def getProperty[A](
|
def getProperty[A](
|
||||||
|
|
Loading…
Add table
Reference in a new issue