Skip to content

Commit

Permalink
update version to 2.0.8-pre. chg gen_nuspecs to put the targets file …
Browse files Browse the repository at this point in the history
…in buildTransitive instead of build. #252 #460
  • Loading branch information
ericsink committed Nov 22, 2021
1 parent 7d75cae commit c851e23
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<Copyright>Copyright 2014-2021 SourceGear, LLC</Copyright>
<Company>SourceGear</Company>
<Authors>Eric Sink</Authors>
<Version>2.0.7-pre20210929111533</Version>
<AssemblyVersion>2.0.7.1367</AssemblyVersion>
<FileVersion>2.0.7.1367</FileVersion>
<Version>2.0.8-pre20211122085231</Version>
<AssemblyVersion>2.0.8.1421</AssemblyVersion>
<FileVersion>2.0.8.1421</FileVersion>
<Description>SQLitePCLRaw is a Portable Class Library (PCL) for low-level (raw) access to SQLite</Description>
<ProviderLangVersion>7.3</ProviderLangVersion>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
Expand Down
4 changes: 2 additions & 2 deletions gen_nuspecs/gen_nuspecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ private static void gen_nuspec_lib_e_sqlite3(string dir_src)
gen_nuget_targets(path_targets, WhichLib.E_SQLITE3);
write_nuspec_file_entry(
relpath_targets,
string.Format("build\\{0}", TFM.NET461.AsString()),
string.Format("buildTransitive\\{0}", TFM.NET461.AsString()),
f
);

Expand Down Expand Up @@ -600,7 +600,7 @@ private static void gen_nuspec_lib_e_sqlcipher(string dir_src)
gen_nuget_targets(path_targets, WhichLib.E_SQLCIPHER);
write_nuspec_file_entry(
relpath_targets,
string.Format("build\\{0}", TFM.NET461.AsString()),
string.Format("buildTransitive\\{0}", TFM.NET461.AsString()),
f
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<file src="$cb_bin_path$\e_sqlcipher\linux\musl-x64\libe_sqlcipher.so" target="runtimes\alpine-x64\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\mips64\libe_sqlcipher.so" target="runtimes\linux-mips64\native\libe_sqlcipher.so" />
<file src="$cb_bin_path$\e_sqlcipher\linux\s390x\libe_sqlcipher.so" target="runtimes\linux-s390x\native\libe_sqlcipher.so" />
<file src=".\SQLitePCLRaw.lib.e_sqlcipher.targets" target="build\net461" />
<file src=".\SQLitePCLRaw.lib.e_sqlcipher.targets" target="buildTransitive\net461" />
<!--empty directory in lib to avoid nuget adding a reference-->
<file src="_._" target="lib/net461/_._" />
<!--empty directory in lib to avoid nuget adding a reference-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<file src="$cb_bin_path$\e_sqlite3\linux\musl-x64\libe_sqlite3.so" target="runtimes\alpine-x64\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\mips64\libe_sqlite3.so" target="runtimes\linux-mips64\native\libe_sqlite3.so" />
<file src="$cb_bin_path$\e_sqlite3\linux\s390x\libe_sqlite3.so" target="runtimes\linux-s390x\native\libe_sqlite3.so" />
<file src=".\SQLitePCLRaw.lib.e_sqlite3.targets" target="build\net461" />
<file src=".\SQLitePCLRaw.lib.e_sqlite3.targets" target="buildTransitive\net461" />
<!--empty directory in lib to avoid nuget adding a reference-->
<file src="_._" target="lib/net461/_._" />
<!--empty directory in lib to avoid nuget adding a reference-->
Expand Down
4 changes: 2 additions & 2 deletions version_stamp/version_stamp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static class gen

public const int MAJOR_VERSION = 2;
public const int MINOR_VERSION = 0;
public const int PATCH_VERSION = 7;
public const int PATCH_VERSION = 8;

// a version string with a -pre-timestamp in it
public static string NUSPEC_VERSION_PRE_TIMESTAMP = string.Format("{0}.{1}.{2}-pre{3}",
Expand All @@ -51,7 +51,7 @@ public static class gen
);

// chg this to be the version string we want, one of the above
public static string NUSPEC_VERSION = NUSPEC_VERSION_RELEASE;
public static string NUSPEC_VERSION = NUSPEC_VERSION_PRE_TIMESTAMP;

public static string ASSEMBLY_VERSION = string.Format("{0}.{1}.{2}.{3}",
MAJOR_VERSION,
Expand Down

0 comments on commit c851e23

Please sign in to comment.