cinderella

[unmaintained] simple CI engine
Log | Files | Refs | README | LICENSE

commit ea242283dd84bfdb99b4ada52b66555583e4cda5
parent acc19061ee94b24b170492b156c1b65017ed7821
Author: Stefan Koch <programming@stefan-koch.name>
Date:   Sun, 15 Sep 2019 16:33:07 +0200

continue with pipeline if file does not exist

Diffstat:
M.cinderella.toml | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.cinderella.toml b/.cinderella.toml @@ -7,6 +7,7 @@ commands = [ commands = [ "cargo build --release", "cp target/release/cinderella /opt/cinderella/.cinderella-{{ branch }}", - "rm /opt/cinderella/cinderella-{{ branch }}", + # use -f on deletion to avoid errors if file does not exist + "rm -f /opt/cinderella/cinderella-{{ branch }}", "mv /opt/cinderella/.cinderella-{{ branch }} /opt/cinderella/cinderella-{{ branch }}", ]