fix(workflows): normalize default branch to main across CI/release workflows and docs; update package metadata; clean .gitignore and fix readme license link

This commit is contained in:
2026-02-07 09:50:31 +00:00
parent 4e1d211a14
commit bad663d5e4
8 changed files with 20 additions and 19 deletions

View File

@@ -6,7 +6,7 @@ This directory contains Gitea Actions workflows for automated CI/CD of the SZCI
### 1. CI (`ci.yml`)
**Trigger:** Push to `master` branch or pull requests
**Trigger:** Push to `main` branch or pull requests
**Purpose:** Continuous integration checks on every push
@@ -87,7 +87,7 @@ To create a new release:
3. **Create and push tag:**
```bash
git tag v6.0.1
git push origin master
git push origin main
git push origin v6.0.1
```

View File

@@ -3,10 +3,10 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
jobs:
check:

View File

@@ -117,7 +117,7 @@ jobs:
Use the installation script:
\`\`\`bash
curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/master/install.sh | sudo bash
curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash
\`\`\`
Or download the binary for your platform and make it executable.
@@ -143,7 +143,7 @@ jobs:
Use the installation script:
\`\`\`bash
curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/master/install.sh | sudo bash
curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash
\`\`\`
EOF
fi
@@ -244,5 +244,5 @@ jobs:
echo "https://code.foss.global/ship.zone/szci/releases/tag/${{ steps.version.outputs.version }}"
echo ""
echo "Installation command:"
echo "curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/master/install.sh | sudo bash"
echo "curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash"
echo ""