diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15987c7..f9d4724 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,8 @@ jobs: run: | version=$(grep -oE 'version\s+=\s+"([^"]+)"' ./release | awk -F'"' '{print $2}') release_name=$(grep -oE 'release_name\s+=\s+"([^"]+)"' ./release | awk -F'"' '{print $2}') - description=$(sed -n '/description = """$/,/"""/p' ./release | sed '1d;$d') + description=$(awk '/description = """$/,/"""/{if (!/description = """/ && !/"""/) print}' ./release) + echo "$description echo "::set-output name=TAG_NAME::$version" echo "::set-output name=RELEASE_NAME::$release_name" echo "::set-output name=RELEASE_BODY::$description" diff --git a/release b/release index 1fab76a..7ae32c3 100644 --- a/release +++ b/release @@ -2,9 +2,7 @@ version = "0.1.0" release_name = "socorta" description = """ ### Docker Image Release - ## Socotra Testnet v1 Juneo Network - Command to pull the image: `docker pull ghcr.io/staketab/juneo-docker/socorta:0.1.0` """ \ No newline at end of file