diff --git a/entrypoint.sh b/entrypoint.sh index a26dd7e..e43d9b1 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -FLAGS="" +FLAGS="$SEMVER_RAW_FLAGS" if [[ -z "$INPUT_CONFIG_FILE" ]]; then echo "Set the configuration file path." @@ -51,4 +51,4 @@ OUT_SEMVER_GEN=$(/go/src/app/semver-gen generate $FLAGS $*) [ $? -eq 0 ] || exit 1 CLEAN_SEMVER=$(echo $OUT_SEMVER_GEN | sed -e 's|SEMVER ||g') echo "semantic_version=$CLEAN_SEMVER" >> $GITHUB_OUTPUT -echo $OUT_SEMVER_GEN \ No newline at end of file +echo $OUT_SEMVER_GEN