Przeglądaj źródła

fix: replace all RELEASE_VERSION in notes [skip ci]

Baptiste Augrain 6 miesięcy temu
rodzic
commit
377ff77104
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      release.sh

+ 1 - 1
release.sh

@@ -29,7 +29,7 @@ if [[ $( gh release view --repo "${ASSETS_REPOSITORY}" "${RELEASE_VERSION}" 2>&1
 
     replace "s|MS_TAG_SHORT|$( echo "${MS_TAG//./_}" | cut -d'_' -f 1,2 )|" release_notes.txt
     replace "s|MS_TAG|${MS_TAG}|" release_notes.txt
-    replace "s|RELEASE_VERSION|${RELEASE_VERSION}|" release_notes.txt
+    replace "s|RELEASE_VERSION|${RELEASE_VERSION}|g" release_notes.txt
     replace "s|RELEASE_NOTES|${RELEASE_NOTES//$'\n'/\\n}|" release_notes.txt
 
     gh release edit "${RELEASE_VERSION}" --notes-file release_notes.txt