blob: 69f5cc806e8950d78d901486802de04855334429 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
#!/usr/bin/env bash
cat <<EOF > ModAS.Server/Version.cs
namespace Modas.Server;
public static class Version
{
public const string Text = "$(git rev-parse --abbrev-ref HEAD)@$(git describe --tags --abbrev=0)+`git log $(git describe --tags --abbrev=0)..HEAD --oneline`";
}
EOF
#git log $(git describe --tags --abbrev=0)..HEAD --oneline
|