Skip to content

Commit 2e4008e

Browse files
authored
Merge pull request #338 from sbt/wip/version
Scope version to project
2 parents 2bf54be + 2b0f4fa commit 2e4008e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/main/scala/com/geirsson/CiReleasePlugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,7 @@ object CiReleasePlugin extends AutoPlugin {
142142
case Some(cmd) => cmd
143143
case None => backPubVersionToCommand(v)
144144
}
145-
},
146-
version ~= dropBackPubCommand
145+
}
147146
)
148147

149148
override lazy val globalSettings: Seq[Def.Setting[_]] = List(
@@ -219,6 +218,7 @@ object CiReleasePlugin extends AutoPlugin {
219218
)
220219

221220
override lazy val projectSettings: Seq[Def.Setting[_]] = List(
221+
version ~= dropBackPubCommand,
222222
publishConfiguration :=
223223
publishConfiguration.value.withOverwrite(true),
224224
publishLocalConfiguration :=

0 commit comments

Comments
 (0)