commit 8c00336267510d6336c665104df8db97c86f4a9a
parent 49ee6a80e8c13d435b250d7900eac47eb4c4e629
Author: Stefan Koch <programming@stefan-koch.name>
Date: Sun, 8 Dec 2019 12:52:37 +0100
write to cinderella binary instead of cinderella-master
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.cinderella.toml b/.cinderella.toml
@@ -6,9 +6,9 @@ commands = [
[build-release]
commands = [
"cargo build --release",
- "cp target/release/cinderella /opt/cinderella/.cinderella-%BRANCH",
+ "cp target/release/cinderella /opt/cinderella/.cinderella",
# 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",
+ "rm -f /opt/cinderella/cinderella",
+ "mv /opt/cinderella/.cinderella /opt/cinderella/cinderella",
]
when = "\"%BRANCH\" == \"master\""