Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Jul 18, 2024
1 parent 7819c9b commit cd89b91
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 28 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ jobs:
runs-on: ubuntu-latest
name: DotNet Format
steps:
- uses: actions/checkout@v4
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup .NET SDK
uses: actions/setup-dotnet@v4
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@ jobs:
name: Trigger ci flow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get version
-
name: Checkout
uses: actions/checkout@v4
-
name: Get version
id: get-version
shell: pwsh
run: |
# Finding the version from release tag
$VERSION="${{ github.ref }}".Replace("refs/tags/", "")
"version=$VERSION" >> $env:GITHUB_OUTPUT
- uses: peter-evans/repository-dispatch@v3
-
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
repository: ${{ github.repository }}
Expand Down
7 changes: 0 additions & 7 deletions docs/input/docs/learn/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,6 @@ SemVer.
If you want to fix the version, use `NuGetVersionV2` which will stay the same
after NuGet 3.0 comes out

## How do I choose my branching strategy (GitFlow vs GitHubFlow)

If you run `gitversion init` then choose `Getting started wizard` then choose
`Unsure, tell me more`, GitVersion will run through a series of questions which
will try and help point you towards a branching strategy and why you would use
it.

## Merged branch names as version source

When GitVersion considers previous commits to calculate a version number, it's
Expand Down
10 changes: 0 additions & 10 deletions docs/input/docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,6 @@ RedirectFrom: docs/configuration
GitVersion, starting from version 3.0, is mainly powered by configuration and no
longer has branching strategies hard-coded.

## Configuration tool

If you run `gitversion init`, GitVersion will launch into a configuration tool,
which can help you configure GitVersion the way you want it.

Once complete, the `init` command will create a `GitVersion.yml` file in the
working directory. It can be the root repository directory or any subdirectory
in case you have a single repository for more than one project or are restricted
to commit into a subdirectory.

:::{.alert .alert-info}
**Note**

Expand Down
2 changes: 1 addition & 1 deletion docs/input/docs/reference/modes/manual-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ remain on the same pre-released version until it has been deployed dedicatedly.

The thing about manual deployment is that there will be _multiple_ candidates
to deploy on testing and it is a human choice to deploy. This means that
GitVersion will build **the same semantic version** until that version is
GitVersion will build __the same semantic version__ until that version is
deployed. For instance:

* 1.1.0-2+1
Expand Down
6 changes: 0 additions & 6 deletions mkdocs.yml

This file was deleted.

0 comments on commit cd89b91

Please sign in to comment.