Skip to content

Commit

Permalink
Simple script to build releases
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Sep 14, 2019
1 parent 2a3c1b3 commit 56aa5e7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions Drums/buildrelease.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -e

dotnet build -c Release VDrumExplorer.Wpf
version=$(grep \<Version\> VDrumExplorer.Wpf/VDrumExplorer.Wpf.csproj | sed s/\<[^\>]*\>//g | sed 's/ //g')

rm -rf tmp
mkdir tmp
cd tmp
mkdir VDrumExplorer-$version
cp ../VDrumExplorer.Wpf/bin/Release/net472/* VDrumExplorer-$version
cp ../td17.vdrum VDrumExplorer-$version
zip -r VDrumExplorer-$version.zip VDrumExplorer-$version
cd ..

0 comments on commit 56aa5e7

Please sign in to comment.