Skip to content

Commit 62cbc9a

Browse files
committed
Update docs with new version
1 parent a657ec0 commit 62cbc9a

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Install-Package Sknet.InRuleGitStorage -IncludePrerelease
2525
```
2626

2727
```batch
28-
dotnet add package Sknet.InRuleGitStorage --version 0.2.1
28+
dotnet add package Sknet.InRuleGitStorage --version 0.2.2
2929
```
3030

3131
## Basic example
@@ -57,13 +57,13 @@ InRuleGitRepository.Clone(
5757
// Get a new instance of your local InRule Git repository
5858
using (var repo = InRuleGitRepository.Open("/path/to/local/repo"))
5959
{
60-
// Create a local branch that is tracked to the remote "v0.2.1" branch
61-
repo.CreateTrackedBranch("v0.2.1", "origin");
60+
// Create a local branch that is tracked to the remote "v0.2.2" branch
61+
repo.CreateTrackedBranch("v0.2.2", "origin");
6262

6363
// Switch the current branch to the newly created tracked branch
64-
repo.Checkout("v0.2.1");
64+
repo.Checkout("v0.2.2");
6565

66-
// Create a local branch from the "v0.2.1" branch
66+
// Create a local branch from the "v0.2.2" branch
6767
repo.CreateBranch("invoice-date-field");
6868

6969
// Switch the current branch to the newly created local branch
@@ -76,13 +76,13 @@ using (var repo = InRuleGitRepository.Open("/path/to/local/repo"))
7676
repo.Commit(ruleApp, "Add invoice date field");
7777

7878
// Switch back to the previous branch that does not have the field change
79-
repo.Checkout("v0.2.1");
79+
repo.Checkout("v0.2.2");
8080

8181
// Merge the invoice date field change into the current branch
8282
repo.Merge("invoice-date-field");
8383

8484
// Delete the original branch containing the invoice date field change since the
85-
// change now exists in the "v0.2.1" branch
85+
// change now exists in the "v0.2.2" branch
8686
repo.RemoveBranch("invoice-date-field");
8787
}
8888
```

docs/coverpage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![logo](assets/img/logo.svg ':size=200')
22

3-
# InRuleGitStorage<small>0.2.1</small>
3+
# InRuleGitStorage<small>0.2.2</small>
44

55
>Store and manage your <a href="https://www.inrule.com/" style="text-decoration: underline rgba(51, 51, 51, 0.2);">InRule</a>® business rules in a Git repository.
66

docs/installation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ InRuleGitStorage is a NuGet package that can be installed using a package instal
55
## Package Manager
66

77
```powershell
8-
PM> Install-Package Sknet.InRuleGitStorage -Version 0.2.1
8+
PM> Install-Package Sknet.InRuleGitStorage -Version 0.2.2
99
```
1010

1111
## .NET CLI
1212

1313
```batch
14-
dotnet add package Sknet.InRuleGitStorage --version 0.2.1
14+
dotnet add package Sknet.InRuleGitStorage --version 0.2.2
1515
```
1616

1717
## Package Reference
1818

1919
```xml
20-
<PackageReference Include="Sknet.InRuleGitStorage" Version="0.2.1" />
20+
<PackageReference Include="Sknet.InRuleGitStorage" Version="0.2.2" />
2121
```

docs/introduction.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ InRuleGitRepository.Clone(
4646
// Get a new instance of your local InRule Git repository
4747
using (var repo = InRuleGitRepository.Open("/path/to/local/repo"))
4848
{
49-
// Create a local branch that is tracked to the remote "v0.2.1" branch
50-
repo.CreateBranch("v0.2.1", "origin");
49+
// Create a local branch that is tracked to the remote "v0.2.2" branch
50+
repo.CreateBranch("v0.2.2", "origin");
5151

5252
// Switch the current branch to the newly created tracked branch
53-
repo.Checkout("v0.2.1");
53+
repo.Checkout("v0.2.2");
5454

55-
// Create a local branch from the "v0.2.1" branch
55+
// Create a local branch from the "v0.2.2" branch
5656
repo.CreateBranch("invoice-date-field");
5757

5858
// Switch the current branch to the newly created local branch
@@ -65,14 +65,18 @@ using (var repo = InRuleGitRepository.Open("/path/to/local/repo"))
6565
repo.Commit(ruleApp, "Add invoice date field");
6666

6767
// Switch back to the previous branch that does not have the field change
68-
repo.Checkout("v0.2.1");
68+
repo.Checkout("v0.2.2");
6969

7070
// Merge the invoice date field change into the current branch
7171
repo.Merge("invoice-date-field");
7272

7373
// Delete the original branch containing the invoice date field change since the
74-
// change now exists in the "v0.2.1" branch
74+
// change now exists in the "v0.2.2" branch
7575
repo.RemoveBranch("invoice-date-field");
76+
77+
// Push the changes in the current branch to the remote repository (commented out
78+
// to show an example; you will not have access to update the public samples repo)
79+
// repo.Push();
7680
}
7781
```
7882

0 commit comments

Comments
 (0)