rename generated class SvnVersion->GitVersion

This commit is contained in:
Eric House 2010-06-05 08:30:55 -07:00
parent e10778b2f3
commit 564dfff2c0
3 changed files with 4 additions and 4 deletions

View file

@ -1 +1 @@
SvnVersion.java
GitVersion.java

View file

@ -79,7 +79,7 @@ public class Utils {
TextView vers = (TextView)view.findViewById( R.id.version_string );
vers.setText( String.format( context.getString(R.string.about_versf),
XWConstants.VERSION_STR,
SvnVersion.VERS ) );
GitVersion.VERS ) );
TextView xlator = (TextView)view.findViewById( R.id.about_xlator );
String str = context.getString( R.string.xlator );

View file

@ -21,10 +21,10 @@ EOF
# the way to mark a release
SHORTVERS="$(git describe --always $GITVERSION 2>/dev/null || echo unknown)"
cat <<EOF > android/XWords4/src/org/eehouse/android/xw4/SvnVersion.java
cat <<EOF > android/XWords4/src/org/eehouse/android/xw4/GitVersion.java
// auto-generated; do not edit
package org.eehouse.android.xw4;
class SvnVersion {
class GitVersion {
public static final String VERS = "$SHORTVERS";
}
EOF