tool: avoid --release for development and fix unsigned overflow
#490
+7
−5
Loading