File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ Create a [Bintray](https://bintray.com) account:
5959### 3. Making a release
6060
61611 . Update the CHANGELOG.md file with any changes
62- 1 . Bump the version number in ` Notifier.java `
62+ 1 . Update the version number by running ` make VERSION=[number] bump `
63631 . Commit the changes
64641 . Create a release build:
6565 * ` ./gradlew -Preleasing=true clean release `
Original file line number Diff line number Diff line change 1+ bump :
2+ ifeq ($(VERSION ) ,)
3+ @$(error VERSION is not defined. Run with `make VERSION=number bump`)
4+ endif
5+ @echo Bumping the version number to $(VERSION)
6+ @sed -i '' "s/version=.*/version=$(VERSION)/" gradle.properties
7+ @sed -i '' "s/NOTIFIER_VERSION = .*;/NOTIFIER_VERSION = \"$(VERSION)\";/"\
8+ src/main/java/com/bugsnag/Notifier.java
9+
10+
You can’t perform that action at this time.
0 commit comments