Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 31, 2023
1 parent b24a411 commit e80c767
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions entrypoint.sh
Expand Up @@ -4,6 +4,8 @@ set -euo pipefail

OUTPUT_PATH="cliff.toml"

sed 's@REPOSITORY_URL@'"$INPUT_REPOSITORY_URL"'@g' cliff-template.toml > "$OUTPUT_PATH"

echo "output_path=$OUTPUT_PATH" >> "$GITHUB_OUTPUT"
if [[ ! -f "$OUTPUT_PATH" ]];
sed 's@REPOSITORY_URL@'"$INPUT_REPOSITORY_URL"'@g' cliff-template.toml > "$OUTPUT_PATH"

echo "output_path=$OUTPUT_PATH" >> "$GITHUB_OUTPUT"
fi

0 comments on commit e80c767

Please sign in to comment.