Skip to content

Commit

Permalink
ci: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierAtSIEN committed Dec 16, 2018
1 parent 99c69c5 commit baea47b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 17 deletions.
4 changes: 2 additions & 2 deletions GitVersion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ branches:
tag: ci
is-mainline: false
release:
regex: release?[/-]
regex: release/
tag: ''
is-mainline: true
preview:
regex: preview?[/-]
regex: preview/
tag: 'preview'
is-mainline: true
source-branches: ['master']
Expand Down
21 changes: 6 additions & 15 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ skip_commits:
branches:
only:
- master
- /preview*/
- /release*/
- /preview\/*/
- /release\/*/
image:
- Ubuntu
- Visual Studio 2017
Expand Down Expand Up @@ -42,18 +42,8 @@ deploy:
secure: 23wPDdRicGt2vZuJ8vd9TRBKmqjHkx5WjzZmKvyxd5j0fNPedjUScRTj/rT0ObJa
on:
branch:
- /preview*/
- /release*/
CI_WINDOWS: true
- provider: GitHub
auth_token: $(GH_TOKEN)
draft: true
prerelease: false
release: $(APPVEYOR_BUILD_VERSION)
on:
branch:
- /preview*/
- /release*/
- /preview\/*/
- /release\/*/
CI_WINDOWS: true
for:
-
Expand All @@ -75,8 +65,9 @@ for:
-
branches:
only:
- /release*/
- /release>\/*/
on_success:
- cmd: semantic-release -b %APPVEYOR_REPO_BRANCH%
- cmd: git config --global credential.helper store
- ps: if ($isWindows) { Add-Content "$env:USERPROFILE\.git-credentials" "https://$($env:GH_TOKEN):[email protected]`n" }
- cmd: git config --global user.email "[email protected]"
Expand Down

0 comments on commit baea47b

Please sign in to comment.