Skip to content
Browse files

Fixes release.sh

  • Loading branch information...
1 parent 92a7fe6 commit e57e7a9d3319c43c199b800e1e38a964da14b313 Andrew Ramstad committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 release.sh
View
3 release.sh
@@ -1,8 +1,7 @@
#!/bin/bash
if [ "$1" ]; then
- sed 's/public static final String version.*$/public static final String version = "'$1'";/' src/java/axiom/main/Server.java > src/java/axiom/main/Server.java.new
- mv src/java/axiom/main/Server.java.new src/java/axiom/main/Server.java
+ sed -i 's/public static final String version.*$/public static final String version = "'$1'";/' src/java/axiom/main/Server.java
bzr commit src/java/axiom/main/Server.java -m "Release $1"
else
echo usage: release.sh version

0 comments on commit e57e7a9

Please sign in to comment.
Something went wrong with that request. Please try again.