File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ Sentry SDK for Unity
1111[ ![ build] ( https://github.com/getsentry/sentry-unity/workflows/CI/badge.svg?branch=main )] ( https://github.com/getsentry/sentry-unity/actions?query=branch%3Amain )
1212[ ![ Discord Chat] ( https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8 )] ( https://discord.gg/PXa5Apfe7K )
1313
14- Install it via UPM:
14+ Install it via ` UPM ` :
1515```
16- https://github.com/getsentry/unity.git#x.x.x
16+ https://github.com/getsentry/unity.git#0.3.0
1717```
18- where ` x.x.x ` is [ the latest release] ( https://github.com/getsentry/unity/releases ) .
1918
2019## Documentation
2120
Original file line number Diff line number Diff line change @@ -10,8 +10,10 @@ Sentry SDK for Unity
1010
1111This is the UPM package for the Sentry SDK for Unity.
1212
13- Install it via ` UPM ` : ` https://github.com/getsentry/unity.git#x.x.x `
14- Where ` x.x.x ` is [ the latest release] ( https://github.com/getsentry/unity/releases ) .
13+ Install it via ` UPM ` :
14+ ```
15+ https://github.com/getsentry/unity.git#0.3.0
16+ ```
1517
1618## Source code
1719
Original file line number Diff line number Diff line change @@ -9,5 +9,10 @@ function Replace-TextInFile {
99 [IO.File ]::WriteAllText($filePath , $content , $utf8NoBomEncoding )
1010}
1111
12+ # Version of .NET assemblies:
1213Replace- TextInFile " $PSScriptRoot /../Directory.Build.props" ' (?<=<Version>)(.*?)(?=</Version>)' $newVersion
14+ # Version of the UPM package
1315Replace- TextInFile " $PSScriptRoot /../package/package.json" ' (?<="version": ")(.*?)(?=")' $newVersion
16+ # Bump the version on the repository README and the UPM's README:
17+ Replace- TextInFile " $PSScriptRoot /../package/README.md" ' (?<=git#)(.+)' $newVersion
18+ Replace- TextInFile " $PSScriptRoot /../README.md" ' (?<=git#)(.+)' $newVersion
You can’t perform that action at this time.
0 commit comments