Skip to content

Commit

Permalink
create test
Browse files Browse the repository at this point in the history
  • Loading branch information
v-pegao committed Mar 1, 2022
1 parent f00ec02 commit f83d9a8
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
9 changes: 8 additions & 1 deletion RELEASENOTE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Version Notes (Current Version: v2.59.0)
Version Notes (Current Version: v2.60.0)
=======================================

v2.60.0
-----------
1. Test: a release can be successfully created on Github
2. Test: release for an existing github release will stopped with error
3. Test: docfx.zip is uploaded
4. Review log

v2.59.0
-----------
1. Upgrade markdig to 2.26.0. (#7701)
Expand Down
6 changes: 3 additions & 3 deletions tools/Deployment/config.ps1
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
$homeDir = (Resolve-Path "$PSScriptRoot\..\..").Path

$docfx = @{
httpsRepoUrl = "https://github.com/dotnet/docfx.git"
httpsRepoUrlWithToken = "https://{0}@github.com/dotnet/docfx.git"
sshRepoUrl = "git@git.luolix.top-ci:dotnet/docfx.git"
httpsRepoUrl = "https://github.com/v-pegao/docfx.git"
httpsRepoUrlWithToken = "https://{0}@github.com/v-pegao/docfx.git"
sshRepoUrl = "git@git.luolix.top-ci:v-pegao/docfx.git"
docfxSeedRepoUrl = "https://github.com/docascode/docfx-seed.git"
docfxSeedHome = "$homeDir\test\docfx-seed"
targetFolder = "$homeDir\target"
Expand Down
4 changes: 2 additions & 2 deletions tools/Deployment/deploy.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ try {
if (IsReleaseNoteVersionChanged $gitCommand $docfx.releaseNotePath)
{
PackAssetZip $docfx.releaseFolder $docfx.assetZipPath
PublishToNuget $nugetCommand $nuget."nuget.org" $docfx.artifactsFolder $env:NUGETAPIKEY
# PublishToNuget $nugetCommand $nuget."nuget.org" $docfx.artifactsFolder $env:NUGETAPIKEY
PublishToGithub $docfx.assetZipPath $docfx.releaseNotePath $docfx.sshRepoUrl $env:TOKEN
PublishToChocolatey $chocoCommand $docfx.releaseNotePath $docfx.assetZipPath $choco.chocoScript $choco.nuspec $choco.homeDir $env:CHOCO_TOKEN
# PublishToChocolatey $chocoCommand $docfx.releaseNotePath $docfx.assetZipPath $choco.chocoScript $choco.nuspec $choco.homeDir $env:CHOCO_TOKEN
} else {
Write-Host "`$releaseNotePath $($docfx.releaseNotePath) hasn't been changed. Ignore to publish package." -ForegroundColor Yellow
}
Expand Down

0 comments on commit f83d9a8

Please sign in to comment.