File tree Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ skip_branch_with_pr: true
8
8
9
9
test : off
10
10
11
- pull_requests :
12
- do_not_increment_build_number : true
13
-
14
11
# Skipping commits affecting specific files
15
12
skip_commits :
16
13
files :
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2018 The nanoFramework project contributors
2
2
# See LICENSE file in the project root for full license information.
3
3
4
- # skip updating assembly info changes if build is a pull-request or not a tag (master OR release)
5
- if ($env: appveyor_pull_request_number -or
6
- ($env: APPVEYOR_REPO_BRANCH -eq " master" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
7
- ($env: APPVEYOR_REPO_BRANCH -match " ^release*" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
8
- $env: APPVEYOR_REPO_TAG -eq " true" )
4
+ # skip updating assembly info changes if build is a pull-request or not a tag (can't commit when repo is in a tag)
5
+ if ($env: appveyor_pull_request_number -or $env: APPVEYOR_REPO_TAG -eq " true" )
9
6
{
10
7
' Skip committing assembly info changes...' | Write-Host - ForegroundColor White
11
8
}
20
17
' OK' | Write-Host - ForegroundColor Green
21
18
}
22
19
23
- # update assembly info in nf-interpreter if we are in development branch or if this is tag (master OR release)
24
- if ($env: APPVEYOR_REPO_BRANCH -match " ^dev* " -or $ env: APPVEYOR_REPO_TAG -eq " true" )
20
+ # update assembly info in nf-interpreter if this is tag
21
+ if ($env: APPVEYOR_REPO_TAG -eq " true" )
25
22
{
26
23
' Updating assembly version in nf-interpreter...' | Write-Host - ForegroundColor White - NoNewline
27
24
28
25
# clone nf-interpreter repo (only a shallow clone with last commit)
29
26
git clone https:// github.com / nanoframework/ nf- interpreter - b develop -- depth 1 - q
30
- cd nf- interpreter
27
+ cd nf- interpreter > $null
31
28
32
29
# new branch name
33
30
$newBranch = " $env: APPVEYOR_REPO_BRANCH -nfbot/update-version/nanoFramework.Hardware.Esp32/$env: GitVersion_NuGetVersionV2 "
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2018 The nanoFramework project contributors
2
2
# See LICENSE file in the project root for full license information.
3
3
4
- # generate change log when build is NOT a pull-request or not a tag (master OR release)
5
- if ($env: appveyor_pull_request_number -or
6
- ($env: APPVEYOR_REPO_BRANCH -eq " master" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
7
- ($env: APPVEYOR_REPO_BRANCH -match " ^release*" -and $env: APPVEYOR_REPO_TAG -eq ' true' ) -or
8
- $env: APPVEYOR_REPO_TAG -eq " true" )
4
+ # skip generating the change log when build is a pull-request or not a tag (can't commit when repo is in a tag)
5
+ if ($env: appveyor_pull_request_number -or $env: APPVEYOR_REPO_TAG -eq " true" )
9
6
{
10
7
' Skip change log processing...' | Write-Host - ForegroundColor White
11
8
}
12
9
else
13
10
{
14
11
# need this to keep ruby happy
15
- md c:\tmp
12
+ md c:\tmp > $null
16
13
17
14
if ($env: APPVEYOR_REPO_BRANCH -eq " master" -or $env: APPVEYOR_REPO_BRANCH -match " ^release*" )
18
15
{
You can’t perform that action at this time.
0 commit comments