-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove references to docs from azure-pipeline.yml"
This reverts commit 0c7bfa9.
- Loading branch information
Showing
1 changed file
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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,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: | ||
|