Skip to content

Commit

Permalink
Add InformationVersion (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexprof authored Jan 17, 2022
1 parent 6d120e1 commit c281a3d
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions buildscripts/publish.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#! /bin/sh
VERSION=$(git describe --tags)
VERSION=$(git describe --tags | sed -r 's/v([0-9].[0-9].[0-9]).*/\1/g')
INFORMATIONALVERSION=$(git describe --tags)
CONFIGURATION=Release
RUNTIME=linux-x64
echo $VERSION
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -o publish src/DisksMonitoring
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -o publish src/OldPartitionsRemover
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -o publish src/RecordsCalculator
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -o publish src/DiskStatusAnalyzer
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -o publish src/ClusterModifier
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -o publish src/BobAliensRecovery
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -p:InformationalVersion=$INFORMATIONALVERSION -o publish src/DisksMonitoring
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -p:InformationalVersion=$INFORMATIONALVERSION -o publish src/OldPartitionsRemover
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -p:InformationalVersion=$INFORMATIONALVERSION -o publish src/RecordsCalculator
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -p:InformationalVersion=$INFORMATIONALVERSION -o publish src/DiskStatusAnalyzer
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -p:InformationalVersion=$INFORMATIONALVERSION -o publish src/ClusterModifier
dotnet publish -c $CONFIGURATION -r $RUNTIME -p:Version=$VERSION -p:InformationalVersion=$INFORMATIONALVERSION -o publish src/BobAliensRecovery

0 comments on commit c281a3d

Please sign in to comment.