Skip to content

Commit

Permalink
Update version to 0.12.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mfenniak committed Jan 22, 2016
1 parent bd0215f commit 290eeb6
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions Examples/RethinkDb.Examples.ConsoleApp/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyFileVersion("0.12.0.0")]
[assembly: AssemblyVersion("0.12.1.0")]
[assembly: AssemblyFileVersion("0.12.1.0")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyVersion("0.12.1.0")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
2 changes: 1 addition & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# rethinkdb-net Release Notes

## Next Release
## 0.12.1.0 (2016-01-21)

### Bugfixes

Expand Down
12 changes: 6 additions & 6 deletions make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,38 @@ echo "Processing release $NEW_VERSION"
# ensure all files have the same line endings
find . -type f -name '*.cs' -exec dos2unix -m '{}' \;

for f in **/AssemblyInfo.cs; do
sed --in-place -e "s/\"[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\"/\"$NEW_VERSION\"/" $f
for f in `find . -name 'AssemblyInfo.cs'`; do
sed -E -i '' -e "s/\"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\"/\"$NEW_VERSION\"/" $f
if ! grep -q "$NEW_VERSION" "$f"
then
echo "sed failed $f"
exit
fi
done

sed --in-place -e "s#<version>[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+</version>#<version>$NEW_VERSION</version>#" rethinkdb-net.nuspec
sed -E -i '' -e "s#<version>[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+</version>#<version>$NEW_VERSION</version>#" rethinkdb-net.nuspec
if ! grep -q "<version>$NEW_VERSION</version>" rethinkdb-net.nuspec
then
echo "sed failed"
exit
fi


sed --in-place -e "s#<version>[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+</version>#<version>$NEW_VERSION</version>#" rethinkdb-net-newtonsoft.nuspec
sed -E -i '' -e "s#<version>[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+</version>#<version>$NEW_VERSION</version>#" rethinkdb-net-newtonsoft.nuspec
if ! grep -q "<version>$NEW_VERSION</version>" rethinkdb-net-newtonsoft.nuspec
then
echo "sed failed"
exit
fi

sed --in-place -e "s#<dependency id=\"rethinkdb-net\" version=\"[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+\" />#<dependency id=\"rethinkdb-net\" version=\"$NEW_VERSION\" />#" rethinkdb-net-newtonsoft.nuspec
sed -E -i '' -e "s#<dependency id=\"rethinkdb-net\" version=\"[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\" />#<dependency id=\"rethinkdb-net\" version=\"$NEW_VERSION\" />#" rethinkdb-net-newtonsoft.nuspec
if ! grep -q "<dependency id=\"rethinkdb-net\" version=\"$NEW_VERSION\" />" rethinkdb-net-newtonsoft.nuspec
then
echo "sed failed"
exit
fi

sed --in-place -e "s/## Next Release/## $NEW_VERSION (`date +%Y-%m-%d`)/" RELEASE-NOTES.md
sed -E -i '' -e "s/## Next Release/## $NEW_VERSION (`date +%Y-%m-%d`)/" RELEASE-NOTES.md
if ! grep -q "## $NEW_VERSION (`date +%Y-%m-%d`)" RELEASE-NOTES.md
then
echo "sed failed"
Expand Down
4 changes: 2 additions & 2 deletions rethinkdb-net-newtonsoft-test/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyFileVersion("0.12.0.0")]
[assembly: AssemblyVersion("0.12.1.0")]
[assembly: AssemblyFileVersion("0.12.1.0")]
4 changes: 2 additions & 2 deletions rethinkdb-net-newtonsoft.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>rethinkdb-net-newtonsoft</id>
<version>0.12.0.0</version>
<version>0.12.1.0</version>
<authors>Brian Chavez</authors>
<owners>Mathieu Fenniak</owners>
<projectUrl>https://github.com/mfenniak/rethinkdb-net</projectUrl>
<licenseUrl>https://raw.github.com/mfenniak/rethinkdb-net/master/LICENSE.txt</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Alternative object serializer for rethinkdb-net using Newtonsoft.Json</description>
<dependencies>
<dependency id="rethinkdb-net" version="0.12.0.0" />
<dependency id="rethinkdb-net" version="0.12.1.0" />
<dependency id="Newtonsoft.Json" version="5.0.8" />
<dependency id="protobuf-net" version="2.0.0.666" />
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions rethinkdb-net-newtonsoft/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]

[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyFileVersion("0.12.0.0")]
[assembly: AssemblyVersion("0.12.1.0")]
[assembly: AssemblyFileVersion("0.12.1.0")]
4 changes: 2 additions & 2 deletions rethinkdb-net-test/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyFileVersion("0.12.0.0")]
[assembly: AssemblyVersion("0.12.1.0")]
[assembly: AssemblyFileVersion("0.12.1.0")]
2 changes: 1 addition & 1 deletion rethinkdb-net.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>rethinkdb-net</id>
<version>0.12.0.0</version>
<version>0.12.1.0</version>
<authors>Mathieu Fenniak, Karl Grzeszczak, Dale Ragan, John Weber</authors>
<owners>Mathieu Fenniak</owners>
<projectUrl>https://github.com/mfenniak/rethinkdb-net</projectUrl>
Expand Down
4 changes: 2 additions & 2 deletions rethinkdb-net/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.12.0.0")]
[assembly: AssemblyFileVersion("0.12.0.0")]
[assembly: AssemblyVersion("0.12.1.0")]
[assembly: AssemblyFileVersion("0.12.1.0")]

[assembly: InternalsVisibleTo("rethinkdb-net-test")]

0 comments on commit 290eeb6

Please sign in to comment.