Thanks to visit codestin.com
Credit goes to github.com

Skip to content

timheuer/vsix-version-stamp

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

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vsix-version-stamp

This is meant to be used as a composite action step when developing Visual Studio Extensions using the pattern in the VSIX Community cookbooks/samples.

Usage

When you have your GitHub Action workflow for your VSIX extension you can add this composite action:

on: [push]
      
jobs:
  build:
    name: Build 
    runs-on: windows-2022
      
    steps:
    - uses: actions/checkout@v3

    - name: Setup .NET build dependencies
      uses: timheuer/bootstrap-dotnet@v1

    - name: Increment VSIX version
      id: vsix_version
      uses: timheuer/vsix-version-stamp@v2
      with:
        manifest-file: src\YourProjectLocation\source.extension.vsixmanifest
        vsix-token-source-file: src\YourProjectLocation\source.extension.cs

This will automatically increment the build portion (Major.Minor.Build) with the GitHub Actions run number. Using the version-number parameter you can set a specific version number instead of incrementing the current one.

Specific Version Setting

You can also now (as of v2.2) set the version explicitly yourself. Doing so would look like:

    - name: Increment VSIX version
      id: vsix_version
      uses: timheuer/vsix-version-stamp@v2
      with:
        version-number: '13.2.1'
        manifest-file: src\YourProjectLocation\source.extension.vsixmanifest
        vsix-token-source-file: src\YourProjectLocation\source.extension.cs

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •