just as windows builds do. Also set matchingServerVersion for the web app and use the new format in CVocaluxeServer.
6 lines
309 B
Bash
Executable File
6 lines
309 B
Bash
Executable File
#!/bin/sh
|
|
PROJECT=$1
|
|
cd $PROJECT
|
|
sed -i -r -e 's/AssemblyInformationalVersion\(".*?"\)/AssemblyInformationalVersion("GITVERSION")/' $PROJECT/Properties/AssemblyInfo.cs
|
|
sed -i -e 's/var matchingServerVersion = "";/var matchingServerVersion = "'$(git describe --long)'";/' $PROJECT/../Output/Website/js/main.js
|