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.
Required Github token to use for creating the release
Required Filter latest tags by this major version number
The newly incremented version number
uses: mobileposse/github-release-action@v1
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Compile a version of index.js
that includes all dependencies
npx ncc build dist/index.js -o lib
INPUT_REPO_TOKEN='your token here' INPUT_MAJOR_VERSION=61 GITHUB_REPOSITORY='org/repo' node lib/index.js