Skip to content
Browse files

Fixed to update version in common props

  • Loading branch information...
YohDeadfall committed Jul 24, 2019
1 parent cf84430 commit b7bc6ba22908dc7272fce021adff21f45f35b9af
Showing with 2 additions and 2 deletions.
  1. +2 −2
@@ -12,12 +12,12 @@ if [[ $v == *"-" ]]; then

sed -i 's/^version: .*/version: '$v'-{build}/' .appveyor.yml
sed -i 's/<VersionPrefix>[^<]*<\/VersionPrefix>/<VersionPrefix>'$v'<\/VersionPrefix>/' src/Npgsql/Npgsql.csproj
sed -i 's/<VersionPrefix>[^<]*<\/VersionPrefix>/<VersionPrefix>'$v'<\/VersionPrefix>/' Directory.Build.props
sed -i 's/\(<Identity .*Version=\)"[^"]*"/\1"'$v'"/' src/VSIX/source.extension.vsixmanifest
sed -i 's/.*ProvideBindingRedirection.*/[assembly: ProvideBindingRedirection(AssemblyName = "Npgsql", NewVersion = "'$v'.0", OldVersionLowerBound = "", OldVersionUpperBound = "'$v'.0")]/' src/VSIX/Properties/AssemblyInfo.cs

git add .appveyor.yml
git add src/Npgsql/Npgsql.csproj
git add Directory.Build.props
git add src/VSIX/source.extension.vsixmanifest
git add src/VSIX/Properties/AssemblyInfo.cs

0 comments on commit b7bc6ba

Please sign in to comment.
You can’t perform that action at this time.