Skip to content

Commit

Permalink
Fix travis-ci bug where it was releasing on PRs
Browse files Browse the repository at this point in the history
tag: Maintenance
version: Unreleased
  • Loading branch information
Ben Zumhagen committed Nov 21, 2019
1 parent afd55f0 commit fe99ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- dotnet restore
- dotnet test
- stage: deploy
if: "branch = master AND commit_message =~ /^.*version: [0-9]+\\.[0-9]+\\.[0-9]+.*$/"
if: "branch = master AND type = push AND fork = false AND commit_message =~ /^.*version: [0-9]+\\.[0-9]+\\.[0-9]+.*$/"
script:
- set -e
- version=$(cat version.txt)
Expand Down

0 comments on commit fe99ddb

Please sign in to comment.