Skip to content

Commit

Permalink
Add some changes in eng/common to test things
Browse files Browse the repository at this point in the history
  • Loading branch information
chidozieononiwu committed Sep 18, 2020
1 parent d7a29f5 commit 4d3c6a9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion eng/common/scripts/modules/ChangeLog-Operations.psm1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Common Changelog Operations

# This Files has been retired
$RELEASE_TITLE_REGEX = "(?<releaseNoteTitle>^\#+.*(?<version>\b\d+\.\d+\.\d+([^0-9\s][^\s:]+)?)(\s(?<releaseStatus>\(Unreleased\)|\(\d{4}-\d{2}-\d{2}\)))?)"

# Returns a Collection of changeLogEntry object containing changelog info for all version present in the gived CHANGELOG
Expand Down
1 change: 1 addition & 0 deletions eng/common/scripts/modules/Package-Properties.psm1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This Files has been retired
# Helper functions for retireving useful information from azure-sdk-for-* repo
# Example Use : Import-Module .\eng\common\scripts\modules
class PackageProps
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/eng-common-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ stages:
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
- pwsh: |
$patchDir = "$(System.DefaultWorkingDirectory)/patchfiles"
$patchfiles = git format-patch $(system.pullRequest.sourceBranch)...$(system.pullRequest.targetBranch) ${{ parameters.DirectoryToSync }} -o $patchDir
$patchfiles = git format-patch HEAD~1...origin/master -- ${{ parameters.DirectoryToSync }} -o $patchDir
if ($patchfiles)
{
echo "##vso[task.setvariable variable=PatchFilesLocation]$patchDir"
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/sync-directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ steps:
if ($PatchFilesLocation)
{
pushd ${{ repo }}
$results = Get-ChildItem $PatchFilesLocation | % { $git am $_.FullName }
$results = Get-ChildItem $PatchFilesLocation | % { git am $_.FullName }
if ($results.Count -ne (Get-ChildItem $PatchFilesLocation).Count)
{
Write-Output "Failed to apply patch files"
Expand Down

0 comments on commit 4d3c6a9

Please sign in to comment.