File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1- ---
2- # Configuration for sentry-craft (https://github.com/getsentry/craft)
1+ minVersion : " 0.10.0"
32github :
43 owner : getsentry
54 repo : sentry-rust
5+ changelogPolicy : auto
6+
67targets :
78 - name : crates
89 - name : gh-pages
910 - name : github
10- changelogPolicy : simple
11+ - name : registry
12+ type : sdk
13+ config :
14+ canonical : " cargo:sentry"
Original file line number Diff line number Diff line change @@ -10,5 +10,5 @@ NEW_VERSION="${2}"
1010echo " Current version: ${OLD_VERSION} "
1111echo " Bumping version: ${NEW_VERSION} "
1212
13- perl -pi - e " s/^version = \" .*? \" /version = \" $NEW_VERSION \" /" sentry/Cargo.toml
14- perl -pi - e " s/^(sentry.*)? version = \" .*? \" /\$ 1version = \ "$NEW_VERSION \" /" sentry-actix/Cargo.toml
13+ find . -name Cargo.toml -type f -exec sed -i ' ' - e " s/^version.* /version = \" $NEW_VERSION \" /" {} \;
14+ find . -name Cargo.toml -type f -exec sed -i ' ' - e " s/^\ (sentry.*version = \) \" [^ \" ]* \" /\\ 1 \ "$NEW_VERSION \" /" {} \;
You can’t perform that action at this time.
0 commit comments