verify-git-tag-action

3.1.5 • Public • Published

verify-git-tag-action

Github Action for verifying if a Git tag exists in the remote origin of the cloned repository. It takes the version from your defined package.json file, uses it against an editable tag format, and performs a search against the remote origin. If the tag exists, the action will fail. If the tag does not exist the action will succeed.

Usage

- uses: reside-eng/verify-git-tag-version@v1
  with:
    # The directory where to find the package.json file to retrieve the version which
    # is used in association with tag-format.
    #
    # Default: ./
    package-directory: ''

    # The Git tag format used to identify releases.
    #
    # Default: v$version
    tag-format: ''

Local Development

Testing

To run your tests in watch mode, open up one terminal and run:

yarn tsc --watch

And in a second terminal, start up your tests in watch mode:

yarn test --watch

License

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

Readme

Keywords

Package Sidebar

Install

npm i verify-git-tag-action

Weekly Downloads

98

Version

3.1.5

License

MIT

Unpacked Size

690 kB

Total Files

26

Last publish

Collaborators

  • reside-eng