servicerocket-labs / sbt-git-flow Goto Github PK
View Code? Open in Web Editor NEWSBT plugin for git-flow integrated release
License: Apache License 2.0
SBT plugin for git-flow integrated release
License: Apache License 2.0
The plugin does not work on Linux. The reason is this line
Installing gitflow
on Linux provides the command git flow ...
, but not git-flow
with the dash. Hence, the check on this line will fail.
Trying to run git flow
or disabling the check altogether will make this work
To use this plugin on build servers it would be nice to support a non-interactive mode that does not ask for the confirmation of version numbers.
On debian, on release I encounter this issue:
java.io.IOException: Cannot run program "command": error=2, Aucun fichier ou dossier de ce type
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349)
at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:160)
at sbt.AbstractProcessBuilder.getString(ProcessImpl.scala:133)
at sbt.AbstractProcessBuilder.$bang$bang(ProcessImpl.scala:136)
at com.servicerocket.sbt.release.git.flow.Steps$$anonfun$checkGitFlowExists$1.apply(Steps.scala:16)
at com.servicerocket.sbt.release.git.flow.Steps$$anonfun$checkGitFlowExists$1.apply(Steps.scala:15)
This is du to Steps.scala#L16 which use "command" which is a shell builtin:
LANG=C type command
command is a shell builtin
This can be fix by using "which" instead of "command" but I don't know if this is portable.
Another way is to use 'bash -c "command "'.
A workaround is to create a fake "command" command:
sudo bash -c "cat > /usr/bin/command"<<EOF
#!/bin/bash
exec which "\${@: -1}"
EOF
sudo chmod +x /usr/bin/command
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.