-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hi,
I've tried this action today and am very happy to have created this workflow with it :)
One thing that made the creation a bit complicated for me was that the new-version contained a trailing newline as can be seen in this action run:
The output of
- name: Log some stuff
run: |
echo "Line One"
echo "${{ steps.dependabot-metadata.outputs.previous-version }}"
echo "Line Two"
echo "${{ steps.dependabot-metadata.outputs.new-version }}"
echo "Line Three"
echo "Line One"
echo "${{ steps.version-numbers.outputs.previous-version }}"
echo "Line Two"
echo "${{ steps.version-numbers.outputs.new-version }}"
echo "Line Three"(the version-numbers step is my manual approach of stripping the whitespaces) is
echo "Line One"
echo "0.23.3"
echo "Line Two"
echo "0.24.1
"
echo "Line Three"
echo "Line One"
echo "0.23.3"
echo "Line Two"
echo "0.24.1"
echo "Line Three"I'm not sure if this problem is specific to the pip ecosystem and/or may also happen for previous-version, but it would be nice if fetch-metadata could strip leading and trailing whitespaces automatically :)
Cheers,
Hinrich
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working