Skip to content

Commit

Permalink
Release v1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
SALTWOOD committed Jan 4, 2025
1 parent 979aee4 commit f580529
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,19 @@ jobs:
# Check if .packignore exists and create an exclude list
if [ -f ".packignore" ]; then
# Read the .packignore file and format for zip exclusion
EXCLUDE_LIST=$(cat .packignore | sed 's|^|**/|' | sed 's|$|/*|' | tr '\n' ' ')
EXCLUDE_LIST=$(cat .packignore | sed 's|^|"|' | sed 's|$|"|' | tr '\n' ' ')
echo "Exclude list: $EXCLUDE_LIST"
echo "exclude_list=$EXCLUDE_LIST" >> $GITHUB_ENV
echo "exclude_list=-x $EXCLUDE_LIST" >> $GITHUB_OUTPUT
else
echo ".packignore not found, no files will be excluded."
echo "exclude_list=" >> $GITHUB_ENV
echo "exclude_list=" >> $GITHUB_OUTPUT
fi
- name: "Build and Package the Plugin"
run: |
# Create the zip file excluding files listed in .packignore
zip -r SaltyQQChat-${{ steps.check_version.outputs.version }}.zip * \
-x ${{ steps.exclude_list.outputs.exclude_list }}
${{ steps.exclude_list.outputs.exclude_list }}
mv SaltyQQChat-${{ steps.check_version.outputs.version }}.zip SaltyQQChat-${{ steps.check_version.outputs.version }}.mcdr
- name: "Upload Artifact"
Expand Down
2 changes: 1 addition & 1 deletion mcdreforged.plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "salty_qq_chat",
"version": "1.1.3",
"version": "1.1.4",
"name": "SaltyQQChat",
"description": {
"en_us": "Scalable QQ-Bot Built on QQAPI",
Expand Down
4 changes: 1 addition & 3 deletions salty_qq_chat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class Config(Serializable):
admins: List[str] = []

whitelist: Dict[str, Any] = {
"add_when_bind": False,
"add_when_bind": True,
"remove_when_leave_group": True,
"commands": {
"add": "whitelist add {}",
Expand All @@ -40,8 +40,6 @@ class Config(Serializable):
"verify_player": True,
}

debug: bool = False

commands: Dict[str, bool] = {
"bind": True,
"command": True,
Expand Down
2 changes: 1 addition & 1 deletion salty_qq_chat/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
VERSION = (1, 1, 3)
VERSION = (1, 1, 4)
VERSION_STR = '.'.join(map(str, VERSION))

0 comments on commit f580529

Please sign in to comment.