diff --git a/.gitea/workflows/README.md b/.gitea/workflows/README.md index 65b2e0d..c50c814 100644 --- a/.gitea/workflows/README.md +++ b/.gitea/workflows/README.md @@ -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 ``` diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 9f221b1..a9461a8 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,10 +3,10 @@ name: CI on: push: branches: - - master + - main pull_request: branches: - - master + - main jobs: check: diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 4a6c1d0..a500996 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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 "" diff --git a/.gitignore b/.gitignore index 8eb6d47..c74831e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,17 +1,10 @@ .nogit/ -# artifacts -coverage/ -public/ -pages/ - # installs node_modules/ # caches -.yarn/ .cache/ -.rpt2_cache # builds dist/ @@ -21,4 +14,4 @@ dist_*/ deno.lock .deno/ -# custom \ No newline at end of file +# custom diff --git a/changelog.md b/changelog.md index 0f8689f..da65c7d 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/npmextra.json b/npmextra.json index 7a834f7..435b2c4 100644 --- a/npmextra.json +++ b/npmextra.json @@ -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.", diff --git a/readme.md b/readme.md index a088122..a3d26eb 100644 --- a/readme.md +++ b/readme.md @@ -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. diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index e64849a..87f03e6 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -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.' }