Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit c61780d

Browse files
author
rfaircloth-splunk
committed
fix: strip leading v for splunk versions
1 parent 5246680 commit c61780d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fi
3333

3434
if [[ $VERSION =~ $SEMVER_REGEX ]];
3535
then
36-
echo "::set-output name=VERSION::$VERSION"
36+
echo "::set-output name=VERSION::echo $(echo $VERSION | sed 's/v\(.*\)/\1/')"
3737
exit 0
3838
else
3939
exit 1

0 commit comments

Comments
 (0)