Skip to content

Commit ceb019d

Browse files
committed
Fix manifest creation caused by missing linebreaks
1 parent 701bc2f commit ceb019d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,15 +128,15 @@ jobs:
128128
- name: Create manifest
129129
run: |
130130
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,' | sed -e 's/^v//')
131-
echo "---" >> manifest.yaml
131+
printf "---\n" >> manifest.yaml
132132
cat deploy/k8s/rbac.yaml >> manifest.yaml
133-
echo "---" >> manifest.yaml
133+
printf "---\n" >> manifest.yaml
134134
cat deploy/k8s/csidriver.yaml >> manifest.yaml
135-
echo "---" >> manifest.yaml
135+
printf "---\n" >> manifest.yaml
136136
sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/controller-deployment.yaml >> manifest.yaml
137-
echo "---" >> manifest.yaml
137+
printf "---\n" >> manifest.yaml
138138
sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/node-daemonset.yaml >> manifest.yaml
139-
echo "---" >> manifest.yaml
139+
printf "---\n" >> manifest.yaml
140140
cat deploy/k8s/volume-snapshot-class.yaml >> manifest.yaml
141141
142142
- name: Create Release

0 commit comments

Comments
 (0)