diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3234056239..d588c0dd13 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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/##')" diff --git a/Assets/Editor/BuildTiltBrush.cs b/Assets/Editor/BuildTiltBrush.cs index 259ba578b2..a8af77a93d 100644 --- a/Assets/Editor/BuildTiltBrush.cs +++ b/Assets/Editor/BuildTiltBrush.cs @@ -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)