Compare commits

..

5 Commits

Author SHA1 Message Date
Andrew Gallant
16f0fa6aa6 TRASH: ci: test release build
We test the release process in Travis by setting TRAVIS_TAG explicitly.
We test the release process in Appveyor by switching to a branch test.
2018-09-07 13:30:24 -04:00
Andrew Gallant
b602dbd294 ci: clean up appveyor
Remove some outdated comments and unused config. Also, make the regex for
matching tags a bit more specific.
2018-09-07 13:29:06 -04:00
Andrew Gallant
011aabe477 ci: remove 'branch' condition for deployment
Travis docs[1] say this is ignore when 'tags' is used.

[1] - https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on
2018-09-07 13:29:05 -04:00
Andrew Gallant
c12acd7396 deb: add completions
This commit adds Bash, zsh and fish completions to the Debian binary
package.

Fixes #1032
2018-09-07 13:29:05 -04:00
Andrew Gallant
71fb43e51e deps: update versions for all crates
I don't think every change here is needed, but this ensures we're using
the latest version of every direct dependency.
2018-09-07 13:29:05 -04:00
7 changed files with 11 additions and 10 deletions

View File

@@ -3,6 +3,7 @@ env:
global: global:
- PROJECT_NAME: ripgrep - PROJECT_NAME: ripgrep
- RUST_BACKTRACE: full - RUST_BACKTRACE: full
- TRAVIS_TAG: testrelease
addons: addons:
apt: apt:
packages: packages:
@@ -100,6 +101,7 @@ branches:
only: only:
# Pushes and PR to the master branch # Pushes and PR to the master branch
- master - master
- ag/prepare-0.10.0
# Ruby regex to match tags. Required, or travis won't trigger deploys when # Ruby regex to match tags. Required, or travis won't trigger deploys when
# a new tag is pushed. # a new tag is pushed.
- /^\d+\.\d+\.\d+.*$/ - /^\d+\.\d+\.\d+.*$/

View File

@@ -1,5 +1,5 @@
0.10.0 (2018-09-07) 0.10.0 (TBD)
=================== ============
This is a new minor version release of ripgrep that contains some major new This is a new minor version release of ripgrep that contains some major new
features, a huge number of bug fixes, and is the first release based on features, a huge number of bug fixes, and is the first release based on
libripgrep. The entirety of ripgrep's core search and printing code has been libripgrep. The entirety of ripgrep's core search and printing code has been

4
Cargo.lock generated
View File

@@ -253,7 +253,7 @@ dependencies = [
[[package]] [[package]]
name = "ignore" name = "ignore"
version = "0.4.4" version = "0.4.3"
dependencies = [ dependencies = [
"crossbeam-channel 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-channel 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
"globset 0.4.2", "globset 0.4.2",
@@ -483,7 +483,7 @@ version = "0.10.0"
dependencies = [ dependencies = [
"clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)", "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
"grep 0.2.2", "grep 0.2.2",
"ignore 0.4.4", "ignore 0.4.3",
"lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)",
"num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.8.0 (registry+https://github.com/rust-lang/crates.io-index)",

View File

@@ -46,7 +46,7 @@ members = [
[dependencies] [dependencies]
grep = { version = "0.2.2", path = "grep" } grep = { version = "0.2.2", path = "grep" }
ignore = { version = "0.4.4", path = "ignore" } ignore = { version = "0.4.3", path = "ignore" }
lazy_static = "1.1.0" lazy_static = "1.1.0"
log = "0.4.5" log = "0.4.5"
num_cpus = "1.8.0" num_cpus = "1.8.0"

View File

@@ -73,9 +73,10 @@ deploy:
# deploy when a new tag is pushed and only on the stable channel # deploy when a new tag is pushed and only on the stable channel
on: on:
CHANNEL: stable CHANNEL: stable
APPVEYOR_REPO_TAG: true branch: ag/prepare-0.10.0
branches: branches:
only: only:
- /^\d+\.\d+\.\d+$/ - /^\d+\.\d+\.\d+$/
- master - master
- ag/prepare-0.10.0

View File

@@ -11,9 +11,7 @@ mk_artifacts() {
if is_arm; then if is_arm; then
cargo build --target "$TARGET" --release cargo build --target "$TARGET" --release
else else
# Technically, MUSL builds will force PCRE2 to get statically compiled, cargo build --target "$TARGET" --release --features 'pcre2'
# but we also want PCRE2 statically build for macOS binaries.
PCRE2_SYS_STATIC=1 cargo build --target "$TARGET" --release --features 'pcre2'
fi fi
} }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "ignore" name = "ignore"
version = "0.4.4" #:version version = "0.4.3" #:version
authors = ["Andrew Gallant <jamslam@gmail.com>"] authors = ["Andrew Gallant <jamslam@gmail.com>"]
description = """ description = """
A fast library for efficiently matching ignore files such as `.gitignore` A fast library for efficiently matching ignore files such as `.gitignore`