https://github.com/ethomson/setup-gitversion
Install the gitversion semantic versioning utility
https://github.com/ethomson/setup-gitversion
Last synced: 5 months ago
JSON representation
Install the gitversion semantic versioning utility
- Host: GitHub
- URL: https://github.com/ethomson/setup-gitversion
- Owner: ethomson
- License: mit
- Created: 2019-09-02T13:14:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T19:14:35.000Z (almost 4 years ago)
- Last Synced: 2025-02-13T17:52:50.602Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 7.28 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Setup GitVersion
This will install the [GitVersion utility](https://github.com/GitTools/GitVersion) as a command-line application (`gitversion`) for your GitHub Actions workflow. You'll need to have .NET Core 2.1 installed by your workflow.
Set it up in your workflow:
```
on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '2.1.801'
- uses: ethomson/setup-gitversion@v1
- run: gitversion /UpdateAssemblyInfo
```