File tree Expand file tree Collapse file tree 6 files changed +11
-28
lines changed Expand file tree Collapse file tree 6 files changed +11
-28
lines changed Original file line number Diff line number Diff line change 37
37
runs-on : ubuntu-latest
38
38
name : DotNet Format
39
39
steps :
40
- - uses : actions/checkout@v4
40
+ -
41
+ name : Checkout
42
+ uses : actions/checkout@v4
41
43
-
42
44
name : Setup .NET SDK
43
45
uses : actions/setup-dotnet@v4
Original file line number Diff line number Diff line change 8
8
name : Trigger ci flow
9
9
runs-on : ubuntu-latest
10
10
steps :
11
- - uses : actions/checkout@v4
12
- - name : Get version
11
+ -
12
+ name : Checkout
13
+ uses : actions/checkout@v4
14
+ -
15
+ name : Get version
13
16
id : get-version
14
17
shell : pwsh
15
18
run : |
16
19
# Finding the version from release tag
17
20
$VERSION="${{ github.ref }}".Replace("refs/tags/", "")
18
21
"version=$VERSION" >> $env:GITHUB_OUTPUT
19
- - uses : peter-evans/repository-dispatch@v3
22
+ -
23
+ uses : peter-evans/repository-dispatch@v3
20
24
with :
21
25
token : ${{ secrets.RELEASE_GITHUB_TOKEN }}
22
26
repository : ${{ github.repository }}
Original file line number Diff line number Diff line change @@ -49,13 +49,6 @@ SemVer.
49
49
If you want to fix the version, use ` NuGetVersionV2 ` which will stay the same
50
50
after NuGet 3.0 comes out
51
51
52
- ## How do I choose my branching strategy (GitFlow vs GitHubFlow)
53
-
54
- If you run ` gitversion init ` then choose ` Getting started wizard ` then choose
55
- ` Unsure, tell me more ` , GitVersion will run through a series of questions which
56
- will try and help point you towards a branching strategy and why you would use
57
- it.
58
-
59
52
## Merged branch names as version source
60
53
61
54
When GitVersion considers previous commits to calculate a version number, it's
Original file line number Diff line number Diff line change @@ -8,16 +8,6 @@ RedirectFrom: docs/configuration
8
8
GitVersion, starting from version 3.0, is mainly powered by configuration and no
9
9
longer has branching strategies hard-coded.
10
10
11
- ## Configuration tool
12
-
13
- If you run ` gitversion init ` , GitVersion will launch into a configuration tool,
14
- which can help you configure GitVersion the way you want it.
15
-
16
- Once complete, the ` init ` command will create a ` GitVersion.yml ` file in the
17
- working directory. It can be the root repository directory or any subdirectory
18
- in case you have a single repository for more than one project or are restricted
19
- to commit into a subdirectory.
20
-
21
11
:::{.alert .alert-info}
22
12
** Note**
23
13
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ remain on the same pre-released version until it has been deployed dedicatedly.
15
15
16
16
The thing about manual deployment is that there will be _ multiple_ candidates
17
17
to deploy on testing and it is a human choice to deploy. This means that
18
- GitVersion will build ** the same semantic version ** until that version is
18
+ GitVersion will build __ the same semantic version __ until that version is
19
19
deployed. For instance:
20
20
21
21
* 1.1.0-2+1
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments