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 ""

7
.gitignore vendored
View File

@@ -1,17 +1,10 @@
.nogit/
# artifacts
coverage/
public/
pages/
# installs
node_modules/
# caches
.yarn/
.cache/
.rpt2_cache
# builds
dist/

View File

@@ -1,5 +1,13 @@
# Changelog
## 2026-02-07 - 7.1.1 - fix(workflows)
normalize default branch to 'main' across CI/release workflows and docs; update package metadata; clean .gitignore and fix readme license link
- Updated workflow triggers and documentation from 'master' to 'main' (.gitea/workflows/ci.yml, .gitea/workflows/release.yml, .gitea/workflows/README.md) including install script URLs referenced in release instructions.
- Updated npmextra.json @git.zone/cli metadata: changed projectType from 'npm' to 'deno' and githost from 'gitlab.com' to 'code.foss.global'.
- Cleaned .gitignore by removing outdated entries (coverage/, public/, pages/, .yarn/, .rpt2_cache) and minor whitespace fixes.
- Normalized license filename link in readme.md from 'LICENSE' to lowercase 'license'.
## 2026-02-07 - 7.1.0 - feat(installer)
switch installer/docs to use main branch; add automated installer instructions and update CI examples to use the installer; add release registries and access level in npmextra.json

View File

@@ -8,9 +8,9 @@
"command": "szci test stable"
},
"@git.zone/cli": {
"projectType": "npm",
"projectType": "deno",
"module": {
"githost": "gitlab.com",
"githost": "code.foss.global",
"gitscope": "ship.zone",
"gitrepo": "szci",
"description": "A tool to streamline Node.js and Docker workflows within CI environments, particularly GitLab CI, providing various CI/CD utilities.",

View File

@@ -371,7 +371,7 @@ deno task lint
## License and Legal Information
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [LICENSE](./LICENSE) file.
This repository contains open-source code licensed under the MIT License. A copy of the license can be found in the [license](./license) file.
**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.

View File

@@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@ship.zone/szci',
version: '7.1.0',
version: '7.1.1',
description: 'Serve Zone CI - A tool to streamline Node.js and Docker workflows within CI environments, particularly GitLab CI, providing various CI/CD utilities. Powered by Deno with standalone executables.'
}