Skip to content

Commit 463ce7b

Browse files
authored
Merge pull request #37 from microsoftgraph/dev
Update README & Tagging workflow
2 parents f19bd05 + 82b66ac commit 463ce7b

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/tag-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323

2424
- name: Get SDK version and set environment variable
2525
run: |
26-
SDK_VERSION=$(grep 'SDK_VERSION' src/GraphConstants.php | grep -oE '[0-9]+\.[0-9]+\.([0-9]+|[0-9]+-[a-z]+)')
26+
SDK_VERSION=$(grep 'SDK_VERSION' src/GraphConstants.php | grep -oE '[0-9]+\.[0-9]+\.[0-9A-Za-z.\-]+')
2727
echo "SDK_VERSION=$SDK_VERSION" >> $GITHUB_ENV
2828
2929
- name: Create and publish tag
3030
run: |
3131
echo "SDK_VERSION is:"$SDK_VERSION
32-
git tag $SDK_VERSION && git push origin $SDK_VERSION
32+
git tag $SDK_VERSION && git push origin $SDK_VERSION

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,22 @@
33
[![Latest Stable Version](https://poser.pugx.org/microsoft/microsoft-graph-beta/version)](https://packagist.org/packages/microsoft/microsoft-graph)
44

55
## Install the SDK
6-
You can install the Beta PHP SDK with Composer, either run `composer require microsoft/microsoft-graph-beta`, or edit your `composer.json` file:
6+
You can install the Beta PHP SDK with Composer by editing your `composer.json` file:
77
```
88
{
9+
"minimum-stability": "RC"
910
"require": {
1011
"microsoft/microsoft-graph-beta": "^2.0.0-RC1"
1112
}
1213
}
1314
```
15+
OR
16+
```
17+
"require": {
18+
"microsoft/microsoft-graph-beta": "^2.0.0-RC1",
19+
"microsoft/microsoft-graph-core": "@RC"
20+
}
21+
```
1422
## Get started with Microsoft Graph
1523

1624
### 1. Register your application

0 commit comments

Comments
 (0)