diff --git a/appveyor.signed.bak.yml b/appveyor.signed.bak.yml deleted file mode 100644 index 1fd28f4..0000000 --- a/appveyor.signed.bak.yml +++ /dev/null @@ -1,104 +0,0 @@ -version: 1.0.0.{build} - -image: Visual Studio 2017 - -configuration: Release -skip_tags: true - -services: - - mssql2017 - - mysql - - postgresql - -environment: - cert_secret: - secure: tZ1CLa1H+KzjeZAks/d3fkM3mp7ymDd0hnSmmKa+qe19K1kW2Tt+hMt38tNFMpJIYaOBSAcQ7bwvvqFQwVFNXA== - certsig_pass: - secure: 99QmtVsNeQdxnScCu0qG5OdWAGWwhoaXUF4jRSrzNfGFzCQQBh2NyplgGAUwCALs - -init: -- ps: $Env:VersionSuffixParam = "--version-suffix" -- ps: $Env:VersionSuffixValue = ("ci-" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")) - -install: -- ps: iex ((New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/appveyor/secure-file/master/install.ps1')) -- ps: appveyor-tools\secure-file -decrypt certs\codesig.pfx.enc -secret $Env:cert_secret -- ps: appveyor-tools\secure-file -decrypt certs\FlexLabsStrongKey.snk.enc -secret $Env:cert_secret -- ps: Import-PfxCertificate -FilePath certs\codesig.pfx -CertStoreLocation Cert:\CurrentUser\My -Password (ConvertTo-SecureString $Env:certsig_pass -AsPlainText -Force) - -before_build: -- ps: 'Write-Output ("Build version suffix: " + $Env:VersionSuffixValue)' -- ps: dotnet --info -- ps: dotnet restore -v Minimal - -build_script: -- ps: $Env:PATH = $Env:PATH + ";C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\" -- ps: dotnet build -c $Env:CONFIGURATION $Env:VersionSuffixParam $Env:VersionSuffixValue -- ps: dir -rec *.nupkg | foreach { nuget sign $_ -CertificateSubjectName "Artiom Chilaru" -Timestamper "http://timestamp.digicert.com" } - -artifacts: -- path: '**\*.nupkg' - -for: -- branches: - only: - - develop - - deploy: - - provider: NuGet - server: https://www.myget.org/F/artiomchi/api/v2/package - symbol_server: https://www.myget.org/F/artiomchi/symbols/api/v2/package - api_key: - secure: BlCFbX6MZpsBFqMRZHGultlTjjW8N7fwApHSx/AidToI+nIVCGb5G0yJ3+faCHbc - artifact: /.*\.nupkg/ - -- branches: - only: - - /feature\/.*/ - - init: - - ps: $Env:VersionSuffixParam = "--version-suffix" - - ps: $Env:VersionSuffixValue = ("ci--" + $Env:APPVEYOR_REPO_BRANCH.Substring(8) + "-" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")) - - deploy: - - provider: NuGet - server: https://www.myget.org/F/artiomchi/api/v2/package - symbol_server: https://www.myget.org/F/artiomchi/symbols/api/v2/package - api_key: - secure: BlCFbX6MZpsBFqMRZHGultlTjjW8N7fwApHSx/AidToI+nIVCGb5G0yJ3+faCHbc - artifact: /.*\.nupkg/ - -- branches: - only: - - /prerelease\/.*/ - - init: - - ps: $Env:VersionSuffixParam = "--version-suffix" - - ps: $Env:VersionSuffixValue = ($Env:APPVEYOR_REPO_BRANCH.Substring(11) + "-" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")) - - deploy: - - provider: NuGet - api_key: - secure: BceZKQ4UzRsuP33NdSIEKhPw6kcBZ665gvgYe9oqO2AKoEO/TOp0EcR2hTl4t8MO - artifact: /.*\.nupkg/ - -- branches: - only: - - master - - init: - - ps: $Env:VersionSuffixParam = $null - - ps: $Env:VersionSuffixValue = $null - - deploy: - - provider: NuGet - api_key: - secure: BceZKQ4UzRsuP33NdSIEKhPw6kcBZ665gvgYe9oqO2AKoEO/TOp0EcR2hTl4t8MO - artifact: /.*\.nupkg/ - - - provider: NuGet - server: https://www.myget.org/F/artiomchi/api/v2/package - symbol_server: https://www.myget.org/F/artiomchi/symbols/api/v2/package - api_key: - secure: BlCFbX6MZpsBFqMRZHGultlTjjW8N7fwApHSx/AidToI+nIVCGb5G0yJ3+faCHbc - artifact: /.*\.nupkg/ diff --git a/appveyor.signed.yml b/appveyor.signed.yml index 49aeb91..4e5adeb 100644 --- a/appveyor.signed.yml +++ b/appveyor.signed.yml @@ -71,27 +71,3 @@ for: api_key: secure: BlCFbX6MZpsBFqMRZHGultlTjjW8N7fwApHSx/AidToI+nIVCGb5G0yJ3+faCHbc artifact: /.*\.nupkg/ - -- branches: - only: - - /prerelease\/.*/ - - init: - - ps: $Env:VersionSuffixParam = "--version-suffix" - - ps: $Env:VersionSuffixValue = ($Env:APPVEYOR_REPO_BRANCH.Substring(11) + "-" + $Env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")) - -- branches: - only: - - master - - init: - - ps: $Env:VersionSuffixParam = $null - - ps: $Env:VersionSuffixValue = $null - - deploy: - - provider: NuGet - server: https://www.myget.org/F/artiomchi/api/v2/package - symbol_server: https://www.myget.org/F/artiomchi/symbols/api/v2/package - api_key: - secure: BlCFbX6MZpsBFqMRZHGultlTjjW8N7fwApHSx/AidToI+nIVCGb5G0yJ3+faCHbc - artifact: /.*\.nupkg/