Skip to content

Commit 5c1f1a3

Browse files
authored
replaced the git-url#version copy-pasta (#2229)
1 parent 8cdc3b1 commit 5c1f1a3

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,16 @@ Sentry SDK for Unity
1515
[![build](https://github.com/getsentry/sentry-unity/workflows/CI/badge.svg?branch=main)](https://github.com/getsentry/sentry-unity/actions?query=branch%3Amain)
1616
[![Discord Chat](https://img.shields.io/discord/621778831602221064?logo=discord&logoColor=ffffff&color=7389D8)](https://discord.gg/PXa5Apfe7K)
1717

18-
Install it via `UPM`:
18+
## Install
19+
20+
Install the package via the Unity Package Manager using a Git URL to Sentry's SDK repository:
21+
1922
```
20-
https://github.com/getsentry/unity.git#3.2.3
23+
https://github.com/getsentry/unity.git
2124
```
2225

26+
To use this specific version of the SDK, append `#3.2.3` to the URL.
27+
2328
## Documentation
2429

2530
Sentry has extensive documentation for this SDK.
@@ -33,7 +38,7 @@ Blog posts:
3338

3439
## Setup Sentry SDK with Unity
3540

36-
[![YouTube Video of Setup Sentry SDK with Unity](https://img.youtube.com/vi/P0E9upOSznE/0.jpg)](https://www.youtube.com/watch?v=P0E9upOSznE)
41+
[![YouTube Video of Setup Sentry SDK with Unity](https://img.youtube.com/vi/YKCRSA7TOc/0.jpg)](https://www.youtube.com/watch?v=-YKCRSA7TOc)
3742

3843
## Legacy SDK
3944

package/README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,18 @@ Sentry SDK for Unity
1313

1414
This is the UPM package for the Sentry SDK for Unity.
1515

16-
Install it via `UPM`:
16+
17+
## Install
18+
19+
Install the package via the Unity Package Manager using a Git URL to Sentry's SDK repository:
20+
1721
```
18-
https://github.com/getsentry/unity.git#3.2.3
22+
https://github.com/getsentry/unity.git
1923
```
2024

25+
To use this specific version of the SDK, append `#3.2.3` to the URL.
26+
27+
2128
## Source code
2229

2330
The source code for this project is located at: https://github.com/getsentry/sentry-unity/

scripts/bump-version.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ Replace-TextInFile "$PSScriptRoot/../Directory.Build.props" '(?<=<Version>)(.*?)
1414
# Version of the UPM package
1515
Replace-TextInFile "$PSScriptRoot/../package/package.json" '(?<="version": ")(.*?)(?=")' $newVersion
1616
# 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
17+
Replace-TextInFile "$PSScriptRoot/../package/README.md" '(?<=append `#)(.+?)(?=` to the URL)' $newVersion
18+
Replace-TextInFile "$PSScriptRoot/../README.md" '(?<=append `#)(.+?)(?=` to the URL)' $newVersion

0 commit comments

Comments
 (0)