Skip to content

Commit 5933272

Browse files
authored
ci(cd): fix json contents
1 parent 9b16096 commit 5933272

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-version.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
id: extract_version
4545
run: |
4646
VERSION=$(grep -oP 'The next release version is \K[0-9]+\.[0-9]+\.[0-9]+' release.log || echo "unknown")
47+
echo "Extracted version: $VERSION"
4748
cat <<EOF > $JSON_FILE
4849
{
4950
"schemaVersion": 1,
5051
"label": "next version",
5152
"message": "$VERSION",
5253
"color": "blue"
5354
}
54-
EOF
55-
echo "Extracted version: $VERSION"
55+
EOF
5656
5757
- name: Update Gist with badge
5858
env:

0 commit comments

Comments
 (0)