You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
It looks like you're viewing a Git diff showing changes in a file named pipeline.yml located in the .github/workflows directory. Here's a breakdown of the changes:
Two lines were added.
One line was deleted.
Here's a summary of the changes:
In the original file, the line number 37 was:
version="${github.ref##*/}"
In the changed file, this line was modified to:
version="${version##*/}"
This change seems to be a refinement in the way the version variable is assigned.
Additionally, a line was added after the modified line:
version="${version/[^0-9.]/}"
This line appears to be stripping any characters from the version variable that are not numbers or dots.
So, the script is refining the way it extracts the version number from github.ref by removing non-numeric and non-dot characters.
4a7b61f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you're viewing a Git diff showing changes in a file named
pipeline.yml
located in the.github/workflows
directory. Here's a breakdown of the changes:Here's a summary of the changes:
In the original file, the line number 37 was:
In the changed file, this line was modified to:
This change seems to be a refinement in the way the
version
variable is assigned.Additionally, a line was added after the modified line:
This line appears to be stripping any characters from the
version
variable that are not numbers or dots.So, the script is refining the way it extracts the version number from
github.ref
by removing non-numeric and non-dot characters.