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

Commit 88f8f76

Browse files
author
rfaircloth-splunk
committed
fix: copy paste issue
1 parent c61780d commit 88f8f76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entrypoint.sh

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

3434
if [[ $VERSION =~ $SEMVER_REGEX ]];
3535
then
36-
echo "::set-output name=VERSION::echo $(echo $VERSION | sed 's/v\(.*\)/\1/')"
36+
FINALVERSION=$(echo $VERSION | sed 's/v\(.*\)/\1/')
37+
echo "Version to build is $FINALVERSION"
38+
echo "::set-output name=VERSION::$FINALVERSION"
3739
exit 0
3840
else
3941
exit 1

0 commit comments

Comments
 (0)