From f428900cdf156abb0240782e7c0299ea63845814 Mon Sep 17 00:00:00 2001 From: Coby Sher <63015754+CobyPear@users.noreply.github.com> Date: Fri, 3 Sep 2021 14:07:44 -0500 Subject: [PATCH] Revert "Remove references to docs from azure-pipeline.yml" This reverts commit 0c7bfa9b852ab9a280f4373086aaa978d1639f0b. --- azure-pipelines.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 754c31b085..b8753331e9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,8 +12,12 @@ trigger: paths: include: - / + exclude: + - docs/* # should trigger builds for PRs targeting any of the listed branches +# should _not_ trigger builds for PRs that _only_ have changes in the docs folder +# should trigger builds for PRs that have changes in both docs folder _and_ any other folder besides docs pr: branches: include: @@ -23,6 +27,8 @@ pr: paths: include: - / + exclude: + - docs/* pool: # todo: we dgaf what specific version of Linux is installed, is there any way to wildcard the version? @@ -65,7 +71,6 @@ steps: # * Increment pre-release version # * Force version update even if lerna doesn't detect changes # * Include [skip ci] in commit message to stop pipeline from triggering again when lerna pushes - # * Add pre-dist-tag canary to prevent GitHub releases page from being clogged with pre-releases # * Only run for 'dev' branch # - script: | @@ -73,7 +78,7 @@ steps: git config user.name "Automated Build" git remote set-url origin https://$GITHUB_PAT_ENV@github.com/Sitecore/jss.git git checkout $(branchName) - $(npm bin)/lerna version prerelease --preid canary --pre-dist-tag canary --force-publish --message "version %s [skip ci]" --yes + $(npm bin)/lerna version prerelease --preid canary --force-publish --message "version %s [skip ci]" --yes displayName: 'pre-release version update' condition: and(succeeded(), eq(variables.shouldPublish, true)) env: