Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .craft.yml
Original file line number Diff line number Diff line change
@@ -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"
4 changes: 2 additions & 2 deletions scripts/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\"/" {} \;