From d31241790e7ec66f9f81774b19882424e75cd494 Mon Sep 17 00:00:00 2001 From: Lukasz Raczylo Date: Sun, 9 May 2021 15:42:05 +0100 Subject: [PATCH] Minor bugfixes. --- README.md | 2 +- action.yml | 6 +----- entrypoint.sh | 3 +-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 1dfeeea..9634194 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest name: Generate semver outputs: - RELEASE_VERSION: ${{ steps.semver.outputs.SEMVER }} + RELEASE_VERSION: ${{ steps.semver.outputs.semantic_version }} steps: - name: Run uses: lukaszraczylo/semver-generator@1.0.14 diff --git a/action.yml b/action.yml index 76f315d..5361526 100644 --- a/action.yml +++ b/action.yml @@ -17,12 +17,8 @@ inputs: description: 'Use already cloned repository in current directory' required: false outputs: - semver: + semantic_version: description: 'Calculated semantic version' runs: using: 'docker' image: 'docker://ghcr.io/lukaszraczylo/semver-generator:latest' - args: - - ${{ inputs.config_file }} - - ${{ inputs.repository_url }} - - ${{ inputs.repository_local }} \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 8c617f4..5997432 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -25,5 +25,4 @@ if [[ ! -z "$INPUT_REPOSITORY_LOCAL" ]]; then fi OUT_SEMVER_GEN=$(./semver-gen generate generate $FLAGS) -OUT_SEMVER=$(echo $OUT_SEMVER_GEN | sed -e 's|SEMVER ||g') -echo "::set-output name=SEMVER::$OUT_SEMVER" \ No newline at end of file +echo "::set-output name=semantic_version::$(echo $OUT_SEMVER_GEN | sed -e 's|SEMVER ||g')" \ No newline at end of file