From 45b084ff8bf5bbf60bed500b3daf9436f518bcd2 Mon Sep 17 00:00:00 2001 From: Chaewon Kim <113420297+chaewonni@users.noreply.github.com> Date: Sun, 8 Sep 2024 04:38:17 +0900 Subject: [PATCH] [hotfix] add version variable to github output --- .github/workflows/prod-cd.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-cd.yml b/.github/workflows/prod-cd.yml index 1fbab71..0cd3989 100644 --- a/.github/workflows/prod-cd.yml +++ b/.github/workflows/prod-cd.yml @@ -75,7 +75,9 @@ jobs: if [ -z "$VERSION" ]; then echo "No version found in the commit message." exit 1 - fi + fi + + echo "version=$VERSION" >> $GITHUB_OUTPUT - name: Create GitHub Release run: | @@ -88,4 +90,4 @@ jobs: if [ "$response" -ne 201 ]; then echo "GitHub Release failed with status code $response" exit 1 - fi \ No newline at end of file + fi