Skip to content

Commit

Permalink
Revert "Remove references to docs from azure-pipeline.yml"
Browse files Browse the repository at this point in the history
This reverts commit 0c7bfa9.
  • Loading branch information
CobyPear committed Sep 3, 2021
1 parent 0c7bfa9 commit f428900
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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?
Expand Down Expand Up @@ -65,15 +71,14 @@ 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: |
git config user.email [email protected]
git config user.name "Automated Build"
git remote set-url origin https://[email protected]/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:
Expand Down

0 comments on commit f428900

Please sign in to comment.