Skip to content

Commit

Permalink
Reapply "Do not use # in PR build names (icosa-foundation#796)"
Browse files Browse the repository at this point in the history
This reverts commit 865b66f.
  • Loading branch information
AoZhui committed Dec 24, 2024
1 parent 9cfc56d commit fb4f19e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
else
if [[ ${{ github.ref }} == refs/pull/* ]]
then
DESCRIPTION="PR#$(echo ${{ github.ref }} | sed -e 's#refs/pull/##' -e 's#/merge##')"
DESCRIPTION="PR$(echo ${{ github.ref }} | sed -e 's#refs/pull/##' -e 's#/merge##')"
elif [[ ${{ github.ref }} == refs/heads/* ]]
then
DESCRIPTION="$(echo ${{ github.ref }} | sed -e 's#refs/heads/##')"
Expand Down
2 changes: 1 addition & 1 deletion Assets/Editor/BuildTiltBrush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ public TempSetAppNames(BuildTarget target, string Description)
#endif
if (!String.IsNullOrEmpty(Description))
{
new_name += "-(" + Description + ")";
new_name += "-(" + Description.Replace("#", "") + ")";
new_identifier += "-" + Description.Replace("_", "").Replace("#", "").Replace("-", "");
}
if (m_IsAndroidOrIos)
Expand Down

0 comments on commit fb4f19e

Please sign in to comment.