summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2018-09-07 12:47:13 -0400
committerAndrew Gallant <jamslam@gmail.com>2018-09-07 13:29:06 -0400
commitb602dbd2946e83c420f54fdcb886e8d00ab37c8d (patch)
tree168469c600852251e58fd786d45f5d3ce509bcfa
parent011aabe477e89e25cd9635805bfea8c312d72c85 (diff)
ci: clean up appveyor
Remove some outdated comments and unused config. Also, make the regex for matching tags a bit more specific.
-rw-r--r--appveyor.yml16
1 files changed, 4 insertions, 12 deletions
diff --git a/appveyor.yml b/appveyor.yml
index bea157cf..51dd3b63 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -45,11 +45,10 @@ install:
- rustc -V
- cargo -V
-# ???
+# Hack to work around a harmless warning in Appveyor builds?
build: false
# Equivalent to Travis' `script` phase
-# TODO modify this phase as you see fit
test_script:
- cargo test --verbose --all --features pcre2
@@ -60,7 +59,7 @@ before_deploy:
- copy target\release\rg.exe staging
- ps: copy target\release\build\ripgrep-*\out\_rg.ps1 staging
- cd staging
- # release zipfile will look like 'rust-everywhere-v1.2.3-x86_64-pc-windows-msvc'
+ # release zipfile will look like 'ripgrep-1.2.3-x86_64-pc-windows-msvc'
- 7z a ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip *
- appveyor PushArtifact ../%PROJECT_NAME%-%APPVEYOR_REPO_TAG_NAME%-%TARGET%.zip
@@ -73,17 +72,10 @@ deploy:
provider: GitHub
# deploy when a new tag is pushed and only on the stable channel
on:
- # channel to use to produce the release artifacts
- # NOTE make sure you only release *once* per target
- # TODO you may want to pick a different channel
CHANNEL: stable
- appveyor_repo_tag: true
+ APPVEYOR_REPO_TAG: true
branches:
only:
- - /\d+\.\d+\.\d+/
+ - /^\d+\.\d+\.\d+$/
- master
- # - appveyor
- # - /\d+\.\d+\.\d+/
- # except:
- # - master