Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (7 sloc) 260 Bytes
#!/bin/bash
if [ "$1" ]; then
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
fi