Skip to content

Commit e6b7ee6

Browse files
committed
Forenkler uthentingen
1 parent 0b6890d commit e6b7ee6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/createRelease.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,7 @@ jobs:
8585
echo "$releaseDefinitionOutput"
8686
8787
# Extract YAML content (lines starting with a space) and remove ANSI color codes
88-
echo "$releaseDefinitionOutput" \
89-
| sed 's/\x1b\[[0-9;]*m//g' \
90-
| awk '/^ release:/,/^[^ ]/' \
91-
| sed '$d' > "releases/${RELEASE_NAME}/${RELEASE_NAME}.yml"
88+
echo "$releaseDefinitionOutput" | sed 's/\x1b[[0-9;]*m//g' | awk '/^release:/,0' > releases/${RELEASE_NAME}/${RELEASE_NAME}.yml
9289
9390
# Verify the file was created and has content
9491
if [ -s "releases/${RELEASE_NAME}/${RELEASE_NAME}.yml" ]; then

0 commit comments

Comments
 (0)