File tree Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Expand file tree Collapse file tree 3 files changed +11
-17
lines changed Original file line number Diff line number Diff line change @@ -38,3 +38,4 @@ meta.json
38
38
/.camunda /
39
39
/** /.generated /
40
40
41
+ /.scala-build /
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ lazy val root = project
16
16
.configure(preventPublication)
17
17
.settings(
18
18
name := " camundala" ,
19
- organization := org
19
+ organization := org,
20
+ sourcesInBase := false
20
21
)
21
22
.aggregate(
22
23
documentation,
Original file line number Diff line number Diff line change 1
- import mainargs .*
2
- import $ivy .`io.github.pme123:camundala-helper_3:1.29.21 compat` , camundala .helper .*
3
-
4
- /** <pre> Creates a new Release for the client and publishes to Github/pme123/camundala:
5
- *
6
- * amm ./publish-release.sc <VERSION>
7
- *
8
- * # Example SNAPSHOT (only publish to Github/pme123/camundala) amm ./publish-release.sc 0.2.5-SNAPSHOT
9
- *
10
- * # Example (publish to Github/pme123/camundala and GIT Tagging and increasing Version to next minor
11
- * Version) amm ./publish-release.sc 0.2.5
12
- */
13
-
14
- @ arg(doc = " > Creates a new Release and publishes to Maven Central" )
1
+ #!/usr/bin/env -S scala shebang
2
+
3
+ //> using toolkit 0.5.0
4
+ //> using dep io.github.pme123::camundala-helper:1.30.23
5
+
6
+ import camundala .helper .*
7
+
15
8
@ main
16
9
def release (version : String ): Unit =
17
10
println(s " Publishing camundala: $version" )
@@ -55,8 +48,7 @@ private def replaceVersion(newVersion: String) =
55
48
val versionsPath = os.pwd / " version"
56
49
os.write.over(versionsPath, newVersion)
57
50
58
- private def runInConsole (proc : String * ) = {
51
+ private def runInConsole (proc : String * ) =
59
52
println(proc.mkString(" " ))
60
53
val result = os.proc(proc).call()
61
54
println(result.out.text())
62
- }
You can’t perform that action at this time.
0 commit comments