Skip to content

Set the version in all the AssemblyInfo.cs or AssemblyInfo.vb files in any subdirectory. For use with .NET Full Framework projects.

License

Notifications You must be signed in to change notification settings

dannevesdantas/set-version-assemblyinfo

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Set version on AssemblyInfo.cs GitHub Action for Windows runners

Set the version in all the AssemblyInfo.cs or AssemblyInfo.vb files in any subdirectory. For use with .NET Full Framework projects.

Usage

- name: Set version on AssemblyInfo.cs
  uses: dannevesdantas/set-version-assemblyinfo-win@v1.0.0
  with:
    version: '3.2.0'

Specifying folder path

You can specify an optional folder path to search for AssemblyInfo.cs/.vb files. The default value is ${{ github.workspace }}

- name: Set version on AssemblyInfo.cs
  uses: dannevesdantas/set-version-assemblyinfo-win@v1.0.0
  with:
    version: '3.2.0'
    path: '${{ github.workspace }}/MyProject/App'

Requirements

This GitHub Action is compatible with Windows based runners only.

Credits

Thanks cheeso for providing the PowerShell SetVersion.ps1 script at MSDN Blogs, still available at Wayback Machine.

License

The scripts and documentation in this project are released under the MIT License

About

Set the version in all the AssemblyInfo.cs or AssemblyInfo.vb files in any subdirectory. For use with .NET Full Framework projects.

Resources

License

Stars

Watchers

Forks

Packages

No packages published