name: versioned-release description: "Creates a version tag when the 'version' value in 'package.json' has changed and a tag with the version number does not already exist." author: "Bryce Thorup" inputs: server_url: description: The git repository URL required: true runs: using: composite steps: - run: Get jq shell: apt update && apt install jq -y - run: Get version from package.json shell: export CURRENT_VERSION=$(jq -r .version package.json) - run: Get tagged versions from git shell: export PREVIOUS_VERSIONS=$(git tag -l)