Skip to content

Commit 1f22f36

Browse files
fix
1 parent 25af067 commit 1f22f36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/latest.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,5 @@ YMLTEMPLATE=$(cat "src/latest.yml") && \
2828
chmod +x "src/latest.py" && \
2929
LATEST=$(python3 "src/latest.py") && \
3030
YMLCONTENT=$(echo "$YMLTEMPLATE" | sed "s/@latest/@$LATEST/") && \
31-
echo "$(echo "$YMLCONTENT" | sed "s/@l/@latest")" > "latest/action.yml"
31+
YMLFIX=$(echo "$YMLCONTENT" | sed "s/@l/@latest") && \
32+
echo "$YMLFIX" > "latest/action.yml"

0 commit comments

Comments
 (0)