Skip to content

Commit

Permalink
Merge pull request #4 from alansav/package_version
Browse files Browse the repository at this point in the history
Add version and package version attributes
  • Loading branch information
alansav committed Nov 1, 2019
2 parents e905705 + 8e9d16c commit 65bd5f9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 9 additions & 0 deletions appveyor.yml
Expand Up @@ -7,6 +7,10 @@
do_not_increment_build_number: true
image: Visual Studio 2019
clone_depth: 1
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
build_script:
- cmd: dotnet build -c Release -v minimal src\Credentials.sln
after_build:
Expand All @@ -27,6 +31,11 @@
do_not_increment_build_number: true
image: Visual Studio 2019
clone_depth: 1
dotnet_csproj:
patch: true
file: '**\*.csproj'
version: '{version}'
package_version: '{version}'
build_script:
- cmd: dotnet build -c Release -v minimal src\Credentials.sln
after_build:
Expand Down
2 changes: 2 additions & 0 deletions src/Credentials/Credentials.csproj
Expand Up @@ -10,6 +10,8 @@
<RepositoryUrl>https://github.com/alansav/credentials</RepositoryUrl>
<PackageTags>RFC2898;hash;credentials;username;password;password storage</PackageTags>
<PackageId>Credentials</PackageId>
<Version>0.0.0.0</Version>
<PackageVersion>0.0.0.0</PackageVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 0 additions & 3 deletions src/UnitTests/UnitTests.csproj
Expand Up @@ -5,9 +5,6 @@
<IsPackable>false</IsPackable>
<Version>0.0.0.0</Version>
<PackageVersion>0.0.0.0</PackageVersion>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
<FileVersion>0.0.0.0</FileVersion>
<InformationalVersion>0.0.0.0</InformationalVersion>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 65bd5f9

Please sign in to comment.