File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
libs/sparkpost-lib/src/main/java/com/sparkpost/transport Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1616import org .apache .commons .lang3 .StringUtils ;
1717import org .apache .log4j .Logger ;
1818
19+ import com .sparkpost .Build ;
1920import com .sparkpost .Client ;
2021import com .sparkpost .exception .SparkPostException ;
2122import com .sparkpost .exception .SparkPostIllegalServerResponseException ;
@@ -31,7 +32,7 @@ public class RestConnection {
3132 private static final Logger logger = Logger .getLogger (RestConnection .class );
3233
3334 // TODO: set this up to be set by build machine.
34- private static final String VERSION = "0.0.1-SNAPSHOT " ;
35+ private static final String VERSION = Build . VERSION + " (" + Build . GIT_SHORT_HASH + ") " ;
3536
3637 private static final Base64 BASE64 = new Base64 ();
3738 private static final String DEFAULT_CHARSET = "UTF-8" ;
You can’t perform that action at this time.
0 commit comments