Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

mobileposse/github-version-action

Repository files navigation

Github Version Action

This action scans the repository tags and grabs the latest semver compliant tag. The minor build number is then incremented and returned as an output.

Inputs

repo_token

Required Github token to use for creating the release

major_version

Required Filter latest tags by this major version number

Outputs

new_version

The newly incremented version number

Example usage

uses: mobileposse/github-release-action@v1
with:
  repo_token: ${{ secrets.GITHUB_TOKEN }}

Publishing

Compile a version of index.js that includes all dependencies

npx ncc build dist/index.js -o lib

Local Testing

INPUT_REPO_TOKEN='your token here' INPUT_MAJOR_VERSION=61 GITHUB_REPOSITORY='org/repo' node lib/index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published