Skip to content

Commit

Permalink
Merge branch 'php/8.2' into php/8.3-preview
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Aug 14, 2023
2 parents 305adc9 + 2676c61 commit 2dbdf4e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,15 @@ jobs:
echo "Built by: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> changelog.md
if [[ "${{ github.ref_name }}" != "${{ github.event.repository.default_branch }}" ]]; then
echo -e "\n\n\n" >> changelog.md
echo ":warning: **This isn't the currently recommended version for PocketMine-MP.**" >> changelog.md
echo "Consider using the [recommended release](${{ github.server_url }}/${{ github.repository }}/releases/latest) instead." >> changelog.md
if [[ "${{ github.ref_name }}" == *"preview" ]]; then
echo "# :warning: :radioactive: EXPERIMENTAL!!! :radioactive: :warning:" >> changelog.md
echo "### Your server and/or plugins may crash or misbehave with this release!" >> changelog.md
echo "### Consider downloading the [recommended release](${{ github.server_url }}/${{ github.repository }}/releases/latest) instead." >> changelog.md
else
echo ":warning: **This isn't the currently recommended version for PocketMine-MP.**" >> changelog.md
echo "While PocketMine-MP should work with this version, some plugins might crash or misbehave." >> changelog.md
echo "Consider using the [recommended release](${{ github.server_url }}/${{ github.repository }}/releases/latest) instead." >> changelog.md
fi
fi
echo -e "\n\n\n" >> changelog.md
echo ":information_source: **Linux/MacOS users**: Please see [this page](https://doc.pmmp.io/en/rtfd/faq/installation/opcache.so.html) to fix extension loading errors. Also, check out the [PocketMine-MP Linux/MacOS installer](https://doc.pmmp.io/en/rtfd/installation/get-dot-pmmp-dot-io.html)." >> changelog.md
Expand Down Expand Up @@ -230,4 +237,5 @@ jobs:
tag: php-${{ steps.version.outputs.PHP_VERSION }}-build-${{ github.run_number }}
commit: ${{ github.sha }}
bodyFile: ${{ github.workspace }}/changelog.md
prerelease: ${{ endsWith(github.ref_name, '-preview') }}

0 comments on commit 2dbdf4e

Please sign in to comment.