Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes release.sh

  • Loading branch information...
commit e57e7a9d3319c43c199b800e1e38a964da14b313 1 parent 92a7fe6
Andrew Ramstad authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.