mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
rename generated class SvnVersion->GitVersion
This commit is contained in:
parent
e10778b2f3
commit
564dfff2c0
3 changed files with 4 additions and 4 deletions
|
@ -1 +1 @@
|
|||
SvnVersion.java
|
||||
GitVersion.java
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue