You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'd like to make the branch I'm working on appear in my .jar name like "something-something-branchName".
The command to get the branch name is Process("git rev-parse --abbrev-ref HEAD").!!
but if try private lazy val jarName = assemblyJarName in assembly := { s"${name.value}-assembly-${Process("git rev-parse --abbrev-ref HEAD").!!}.jar" }
I get java.io.FileNotFoundException.
Can you help me?
Thank you
The text was updated successfully, but these errors were encountered:
Hello, I'd like to make the branch I'm working on appear in my .jar name like "something-something-branchName".
The command to get the branch name is
Process("git rev-parse --abbrev-ref HEAD").!!
but if try
private lazy val jarName = assemblyJarName in assembly := { s"${name.value}-assembly-${Process("git rev-parse --abbrev-ref HEAD").!!}.jar" }
I get java.io.FileNotFoundException.
Can you help me?
Thank you
The text was updated successfully, but these errors were encountered: