Skip to content

Commit 24bc077

Browse files
committed
figured out issue
1 parent ba2eb90 commit 24bc077

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ jobs:
3838
repo_name=${{ github.repository }}
3939
forward_repo_pattern="${repo_owner_name}/"
4040
empty_str=""
41-
repo_name="rbx-api-${{env.PACKAGE}}"
42-
echo "repo_name=$repo_name" >> $GITHUB_OUTPUT
41+
repo_name="${repo_name/${forward_repo_pattern}/${empty_str}}"
42+
pub_repo_name="rbx-api-${{env.PACKAGE}}"
43+
echo "repo_name=$pub_repo_name" >> $GITHUB_OUTPUT
4344
4445
# Use the GitHub API to fetch the repository description
4546
description_prefix="\"description\":"
@@ -48,7 +49,7 @@ jobs:
4849
desc=$(echo "$desc" | grep -F "$description_prefix")
4950
desc="${desc/${description_prefix}/${empty_str}}"
5051
repo_desc=$(echo "$desc" | grep -o '"[^"]*"')
51-
echo "::set-output name=repo_desc::$repo_desc"
52+
echo "repo_desc=$repo_desc" >> $GITHUB_OUTPUT
5253
5354
publish_to_wally:
5455
needs: get_published_release

0 commit comments

Comments
 (0)