Skip to content

Application that allows to read or modify version on source code

License

Notifications You must be signed in to change notification settings

raitonbl/versioner

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

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VERSIONER

CLI application that reads and/or edits version from specific types of source code files:

  • Maven pom.xml (version)
  • Node package.json (version)
  • OAS3 specification.yaml (version)
  • Helm Chart.yaml (version, appVersion)

GitHub Action

Usage

Read Version

- uses: raitonbl/versioner@v2.1.1
  with:
    command: get
    runtime: helm
    object : version
    file   : Chart.yaml

Edit Version

- uses: raitonbl/versioner@v2.1.1
  with:
    command: set
    runtime: helm
    object : version
    file   : Chart.yaml

Set Stamped Version

- uses: raitonbl/versioner@v2.1.1
  with:
    command: set-stamped-version
    runtime: helm
    object : version
    file   : Chart.yaml