Skip to content
Permalink
Browse files

Fixed bump.sh 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 bump.sh
@@ -12,12 +12,12 @@ if [[ $v == *"-" ]]; then
fi

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 = "0.0.0.0", 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.