Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch 1 #21

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@ on:
- php81
tags:
- '*'
paths:
- 'game/**'
pull_request:
branches:
- main
- master
- php81
paths:
- 'game/**'

jobs:
build:
Expand Down Expand Up @@ -48,27 +52,25 @@ jobs:
name: Tag
needs: build
runs-on: ubuntu-latest
if: github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/php81')
steps:
- uses: actions/checkout@v4
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/php81'

- uses: dev-drprasad/[email protected]
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/php81'
with:
delete_release: true
tag_name: latest
tag_name: latest, Game - Plugins (Latest)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- uses: rickstaa/action-create-tag@v1
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/php81'
with:
tag: "latest"
tag: "Game - Plugins (Latest)"
github_token: ${{ secrets.GITHUB_TOKEN }}

release:
name: Release
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/php81'
if: (github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/php81'))
needs: [build, tag]
runs-on: ubuntu-latest
steps:
Expand All @@ -77,7 +79,7 @@ jobs:

- name: Versioning
run: |
version="latest"
version="Game - Plugins (Latest)"
if [[ "${{ github.ref_type }}" == 'tag' ]]; then
version=`echo $GITHUB_REF | sed "s/refs\/tags\///"`;
fi
Expand Down
4 changes: 2 additions & 2 deletions game/addons/sourcemod/translations/sbpp_main.phrases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Banned Check Site"
{
"#format" "{1:s}"
"en" "You have been banned from this server. Access {1} for more info."
"en" "You have been banned from this server. Access {1} for more info.."
"nl" "U bent gebanned van deze server, kijk op {1} voor meer informatie."
"fr" "Vous avez été banni de ce serveur, allez sur {1} pour plus d'informations."
"pl" "Zostałeś zbanowany na tym serwerze, odwiedź {1} aby poznać szczegóły."
Expand Down Expand Up @@ -285,4 +285,4 @@
"pt" "Nenhum banimento ativo encontrado."
"chi" "未找到对此玩家的封禁."
}
}
}