Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
trending-up

GitHub Action

Automated versioning

vmna_0.1.8

Automated versioning

trending-up

Automated versioning

vmn based, production grade solution for versioning agnostic to language. Full support for semantic versioning (Semver)

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Automated versioning

uses: progovoy/vmn-action@vmna_0.1.8

Learn more about this action in progovoy/vmn-action

Choose a version

vmn based automatic versioning action

Action for Git tag-based automatic Semver-compliant versioning utilizing the vmn utility

This action was built for basic use of the vmn utility.

If you want to use vmn in a more advanced way, visit its official GitHub page and give it a star:

https://github.com/final-israel/vmn

Usage

- id: foo
  uses: progovoy/vmn-action@vmna_0.1.5
  with:
    release-mode: minor
    app-name: my_cool_app

- name: Use the output from vmn action
  run: |
    echo "${{steps.foo.outputs.verstr}}"

Full dummy example

name: test

on:
  workflow_dispatch:
    inputs:
      version_type:
        type: choice
        description: Release mode
        options:
        - patch
        - minor
        - major
        required: true
      app_name:
        description: App name
        required: true

jobs:
  build_pkg:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/[email protected]

    - id: foo
      uses: progovoy/vmn-action@vmna_0.1.5
      with:
        release-mode: ${{inputs.version_type}}
        app-name: ${{inputs.app_name}}
     
    - name: Use the output from vmn action
      run: |
        echo "${{steps.foo.outputs.verstr}}"