Clean up repository: remove ZIP files, add .gitignore, fix release workflow
This commit is contained in:
13
.github/workflows/release.yml
vendored
13
.github/workflows/release.yml
vendored
@@ -37,11 +37,13 @@ jobs:
|
||||
sed -i "s/version=.*/version=$VERSION/" kernelsu_antibootloop_backup/module.prop
|
||||
sed -i "s/versionCode=.*/versionCode=$VERSION_CODE/" kernelsu_antibootloop_backup/module.prop
|
||||
|
||||
- name: Create module ZIP
|
||||
- name: Create Module ZIP
|
||||
run: |
|
||||
cd kernelsu_antibootloop_backup
|
||||
zip -r ../kernelsu_antibootloop_backup-${{ steps.version.outputs.version }}.zip .
|
||||
zip -r ../kernelsu_antibootloop_backup-${{ steps.version.outputs.version }}.zip . -x "*.git*" "*.md" "docs/*" "tests/*"
|
||||
cd ..
|
||||
echo "ZIP_FILE=kernelsu_antibootloop_backup-${{ steps.version.outputs.version }}.zip" >> $GITHUB_ENV
|
||||
echo "Created ZIP file: kernelsu_antibootloop_backup-${{ steps.version.outputs.version }}.zip"
|
||||
|
||||
- name: Generate changelog
|
||||
id: changelog
|
||||
@@ -87,12 +89,7 @@ jobs:
|
||||
tag_name: ${{ steps.version.outputs.version }}
|
||||
name: KernelSU Anti-Bootloop & Backup ${{ steps.version.outputs.version }}
|
||||
body_path: CHANGELOG.md
|
||||
files: |
|
||||
kernelsu_antibootloop_backup-${{ steps.version.outputs.version }}.zip
|
||||
kernelsu_antibootloop_backup-v1.0.0-fixed.zip
|
||||
kernelsu_antibootloop_backup-v1.0.0.tar.gz
|
||||
kernelsu_antibootloop_backup-v1.0.0.zip
|
||||
kernelsu_antibootloop_backup_v1.0.0.zip
|
||||
files: ${{ env.ZIP_FILE }}
|
||||
draft: false
|
||||
prerelease: false
|
||||
env:
|
||||
|
||||
50
.gitignore
vendored
Normal file
50
.gitignore
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
# Build artifacts and releases
|
||||
*.zip
|
||||
*.tar.gz
|
||||
*.tar
|
||||
*.rar
|
||||
*.7z
|
||||
|
||||
# Module builds
|
||||
**/build/
|
||||
**/dist/
|
||||
**/release/
|
||||
|
||||
# Temporary files
|
||||
*.tmp
|
||||
*.temp
|
||||
*.log
|
||||
|
||||
# OS generated files
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# IDE files
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Node modules (if any)
|
||||
node_modules/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Python cache (if any)
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.pyo
|
||||
*.pyd
|
||||
.Python
|
||||
|
||||
# Backup files
|
||||
*.bak
|
||||
*.backup
|
||||
*.orig
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user