Skip to content

YieldRay/tag-with-npm-version

Repository files navigation

tag-with-npm-version

GitHub Super-Linter CI Check dist/ CodeQL Coverage

Use this action to automatically tag the Git repository with package.json version

Usage

steps:
  - name: Checkout
    id: checkout
    uses: actions/checkout@v4

  - name: Tag
    id: tag-with-npm-version
    uses: yieldray/tag-with-npm-version@main
    with:
      prefix: v
      force: true

  - name: Print version
    id: output
    run: echo "${{ steps.tag-with-npm-version.outputs.version }}"

About

Tag the git repo with package.json version

Resources

License

Stars

Watchers

Forks

Packages

No packages published