BaseBandRewrite/scripts/gen_hash.sh

11 lines
236 B
Bash
Raw Normal View History

2024-06-12 11:05:23 +02:00
#!/bin/bash
2024-06-12 11:20:48 +02:00
cat > Client/src/main/java/de/com/baseband/client/util/data/GitHash.java << EOF
package de.com.baseband.client.util.data;
public class GitHash {
public static final String GIT_HASH = "$(git describe --always)";
}
EOF