This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/master by this push:
     new d5898c0  azure-pipelines.yml: Fixed Release job to checkout the source 
so it can be included in the release distribution
d5898c0 is described below

commit d5898c0ab449b9e95d1768cd257e52975c366947
Author: Shad Storhaug <[email protected]>
AuthorDate: Thu Jul 16 12:50:39 2020 +0700

    azure-pipelines.yml: Fixed Release job to checkout the source so it can be 
included in the release distribution
---
 azure-pipelines.yml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 5779f83..95d2249 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -419,7 +419,10 @@ stages:
       vmImage: 'windows-2019'
 
     steps:
-    - checkout: none # self represents the repo where the initial Pipelines 
YAML file was found
+    # We checkout here because we need to publish the source code along with 
the binaries per Apache's releae policy
+    - checkout: self # self represents the repo where the initial Pipelines 
YAML file was found
+      fetchDepth: 1  # the depth of commits to ask Git to fetch
+
     - template: 'build/azure-templates/show-all-environment-variables.yml'
 
 

Reply via email to