From 07d560112c4451b1ed3a35e7222e0414ad0bceaf Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Thu, 18 Jun 2020 10:47:34 +0200 Subject: [PATCH 1/2] meta: Update bump-version script for workspace --- scripts/bump-version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index 9295fe936..8b9e580cc 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -10,5 +10,5 @@ NEW_VERSION="${2}" echo "Current version: ${OLD_VERSION}" echo "Bumping version: ${NEW_VERSION}" -perl -pi -e "s/^version = \".*?\"/version = \"$NEW_VERSION\"/" sentry/Cargo.toml -perl -pi -e "s/^(sentry.*)?version = \".*?\"/\$1version = \"$NEW_VERSION\"/" sentry-actix/Cargo.toml +find . -name Cargo.toml -type f -exec sed -i '' -e "s/^version.*/version = \"$NEW_VERSION\"/" {} \; +find . -name Cargo.toml -type f -exec sed -i '' -e "s/^\(sentry.*version = \)\"[^\"]*\"/\\1\"$NEW_VERSION\"/" {} \; From 06c6fd32f0e14d1a8b7d46a5470c5466e9814f71 Mon Sep 17 00:00:00 2001 From: Arpad Borsos Date: Thu, 18 Jun 2020 11:10:21 +0200 Subject: [PATCH 2/2] update craft config --- .craft.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.craft.yml b/.craft.yml index b853b0feb..90a18f029 100644 --- a/.craft.yml +++ b/.craft.yml @@ -1,10 +1,14 @@ ---- -# Configuration for sentry-craft (https://github.com/getsentry/craft) +minVersion: "0.10.0" github: owner: getsentry repo: sentry-rust +changelogPolicy: auto + targets: - name: crates - name: gh-pages - name: github -changelogPolicy: simple + - name: registry + type: sdk + config: + canonical: "cargo:sentry"