Skip to content

Commit 8f27554

Browse files
committed
Merge branch 'master' into use-built-in-names
2 parents 7164bb0 + 7d62187 commit 8f27554

3 files changed

Lines changed: 60 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
jobs:
7+
release:
8+
name: release
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
14+
- name: Release
15+
uses: cycjimmy/semantic-release-action@v2
16+
with:
17+
extra_plugins: |
18+
@semantic-release/changelog
19+
@semantic-release/git
20+
branch: master
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.releaserc.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"tagFormat": "${version}",
3+
"plugins": [
4+
["@semantic-release/commit-analyzer", { "preset": "angular" }],
5+
"@semantic-release/release-notes-generator",
6+
["@semantic-release/changelog", { "preset": "angular" }],
7+
["@semantic-release/npm", { "npmPublish": false }],
8+
["@semantic-release/git", {
9+
"assets": ["package.json", "CHANGELOG.md"],
10+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
11+
}],
12+
"@semantic-release/github"
13+
]
14+
}

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
README
22
======
3+
[![openupm](https://img.shields.io/npm/v/com.solidalloy.type.references?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.solidalloy.type.references/)
4+
35

46
A class that provides serializable references to `System.Type` with an accompanying custom property drawer which allows type selection from drop-down.
57

@@ -8,6 +10,28 @@ A class that provides serializable references to `System.Type` with an accompany
810
Whilst we have not encountered any platform specific issues yet, the source code in this repository *might* not necessarily work for all of Unity's platforms or build configurations. It would be greatly appreciated if people would report issues using the [issue tracker](https://github.com/SolidAlloy/ClassTypeReference-for-Unity/issues).
911

1012
This is a fork of the currently inactive project by Rotorz: [ClassTypeReference for Unity](https://bitbucket.org/rotorz/classtypereference-for-unity/src/master/)
13+
## Install with OpenUPM
14+
Once you have the OpenUpm cli run the following command:
15+
16+
```openupm install com.solidalloy.type.references```
17+
18+
Or if you don't have it add the scoped registry to the manifest.json with the desired dependency semantic version:
19+
```
20+
"scopedRegistries": [
21+
{
22+
"name": "package.openupm.com",
23+
"url": "https://package.openupm.com",
24+
"scopes": [
25+
"com.solidalloy.type.references",
26+
"com.openupm"
27+
]
28+
}
29+
],
30+
"dependencies": {
31+
"com.solidalloy.type.references": "2.1.0""
32+
},
33+
34+
```
1135

1236
## Install via Git URL
1337

0 commit comments

Comments
 (0)