File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ minVersion: 0.23.1
22changelogPolicy : simple
33artifactProvider :
44 name : none
5- preReleaseCommand : ' '
65targets :
76 - name : github
87 - name : registry
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ parameters:
1616 - src/Tracing/Doctrine/DBAL/TracingDriverForV2.php
1717 - src/Tracing/HttpClient/TraceableHttpClientForV4.php
1818 - src/Tracing/HttpClient/TraceableHttpClientForV5.php
19+ - src/Tracing/HttpClient/TraceableResponseForV4.php
20+ - src/Tracing/HttpClient/TraceableResponseForV5.php
1921 - tests/End2End/App
2022 - tests/Tracing/Doctrine/DBAL/TracingDriverForV2Test.php
2123 - tests/EventListener/Fixtures/UserWithoutIdentifierStub.php
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -eux
3+
4+ # if [ "$(uname -s)" != "Linux" ]; then
5+ # echo "Please use the GitHub Action."
6+ # exit 1
7+ # fi
8+
9+ SCRIPT_DIR=" $( dirname " $0 " ) "
10+ cd $SCRIPT_DIR /..
11+
12+ OLD_VERSION=" ${1} "
13+ NEW_VERSION=" ${2} "
14+
15+ echo " Current version: $OLD_VERSION "
16+ echo " Bumping version: $NEW_VERSION "
17+
18+ function replace() {
19+ ! grep " $2 " $3
20+ perl -i -pe " s/$1 /$2 /g" $3
21+ grep " $2 " $3 # verify that replacement was successful
22+ }
23+
24+ replace " SDK_VERSION = '[0-9.]+'" " SDK_VERSION = '$NEW_VERSION '" ./src/SentryBundle.php
You can’t perform that action at this time.
0 commit comments