Skip to content

Commit

Permalink
Updated appveyor.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravibpatel committed Jan 2, 2024
1 parent 3ffe85c commit 3cafa2f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
8 changes: 6 additions & 2 deletions ILRepack.Lib.MSBuild.Task/ILRepack.Lib.MSBuild.Task.csproj
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net472</TargetFramework>
<TargetFramework>net462</TargetFramework>
<Version>2.0.18.3</Version>
</PropertyGroup>

<ItemGroup>
<Reference Include="Microsoft.Build.Framework" />
<Reference Include="Microsoft.Build.Utilities.v4.0" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="ILRepack" Version="2.0.18" GeneratePathProperty="true" />
<PackageReference Include="ILRepack.Lib" Version="2.0.18" />
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="17.5.0" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion ILRepack.Lib.MSBuild.Task/ILRepack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Copyright (c) 2004, Evain Jb ([email protected])
* Modified 2007 Marcus Griep ([email protected])
* Modified 2013 Peter Sunde ([email protected])
* Modified 2016-2019 Ravi Patel (www.rbsoft.org)
* Modified 2016-2024 Ravi Patel (rbsoft.org)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>ILRepack.Lib.MSBuild.Task</id>
<version>2.0.18.3</version>
Expand Down
7 changes: 2 additions & 5 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,13 @@ before_build:
- cmd: nuget restore
- secure-file\tools\secure-file -decrypt "c:\projects\ILRepack.Lib.MSBuild.Task\ILRepack.Lib.MSBuild.Task\ILRepack.Lib.MSBuild.Task.snk.enc" -secret %my_secret%

after_build:
- nuget pack "c:\projects\ILRepack.Lib.MSBuild.Task\ILRepack.Lib.MSBuild.Task\build\ILRepack.Lib.MSBuild.Task.nuspec"

artifacts:
- path: ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
- path: ILRepack.Lib.MSBuild.Task\bin\Release\net462\ILRepack.Lib.MSBuild.Task.%my_version%.nupkg

deploy:
- provider: NuGet
api_key:
secure: tmlnRHVMwKGZ1B+ua5hte55Ig+gfbTi4DjKzzTiRjNwpy9nYgQpDZCnQZB0H9IdS
secure: niHgnyEf7tXImWdR3VEJ38p/3gaV7OiSijx0YUmycHTkh12id6zMKkTS+S2XjF2J
skip_symbols: false
artifact: ILRepack.Lib.MSBuild.Task.%my_version%.nupkg
on:
Expand Down

0 comments on commit 3cafa2f

Please sign in to comment.