Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kzrnm/get-net-sdk-project-versions-action
get .NET SDK version project from csproj/vbproj.
https://github.com/kzrnm/get-net-sdk-project-versions-action
Last synced: 26 days ago
JSON representation
get .NET SDK version project from csproj/vbproj.
- Host: GitHub
- URL: https://github.com/kzrnm/get-net-sdk-project-versions-action
- Owner: kzrnm
- License: mit
- Created: 2020-11-17T11:44:08.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-26T21:46:14.000Z (11 months ago)
- Last Synced: 2024-11-22T03:31:52.574Z (about 1 month ago)
- Language: TypeScript
- Homepage:
- Size: 1.03 MB
- Stars: 12
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Get .NET SDK Project Versions
This action gets versions from csproj/vbproj.
![test](https://github.com/kzrnm/get-net-sdk-project-versions-action/workflows/build-test/badge.svg?branch=master)
## Usage
```yml
- uses: kzrnm/get-net-sdk-project-versions-action@v2
id: get-version
with:
proj-path: YourProject/YourProject.csproj
- run: echo "${{steps.get-version.outputs.version}}"
- run: echo "${{steps.get-version.outputs.version-prefix}}"
- run: echo "${{steps.get-version.outputs.version-suffix}}"
- run: echo "${{steps.get-version.outputs.package-version}}"
- run: echo "${{steps.get-version.outputs.assembly-version}}"
- run: echo "${{steps.get-version.outputs.file-version}}"
- run: echo "${{steps.get-version.outputs.informational-version}}"
```## Input
### `proj-path`
**Required** csproj/vbproj path.
## 出力
### `version```
### `version-prefix```
### `version-suffix```
### `package-version```
### `assembly-version```
### `file-version```
### `informational-version```
## Reference
- [Additions to the csproj format for .NET Core - .NET Core CLI | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/core/tools/csproj)
- [NuGet Package Version Reference | Microsoft Docs](https://docs.microsoft.com/nuget/concepts/package-versioning)
- [csproj のバージョン 管理 について - BEACHSIDE BLOG](https://blog.beachside.dev/entry/2019/06/06/190000) Japanese