diff --git a/changelog.md b/changelog.md index fa248ee..0f8689f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ # Changelog +## 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 + +- Replaced master branch URLs with main in install.sh and README examples +- Added "Automated Installer (Recommended)" section to README with curl install examples (including versioned install) +- Replaced npm install -g @ship.zone/szci in CI examples with the curl-based installer invocation (some uses sudo) +- Updated npmextra.json: removed npmAccessLevel for @ship.zone/szci and added release.registries and release.accessLevel entries + ## 2026-02-06 - 7.0.0 - BREAKING CHANGE(szci) delegate Docker operations to @git.zone/tsdocker, remove internal Docker managers and deprecated modules, simplify CLI and env var handling diff --git a/install.sh b/install.sh index fe1af7e..98071c8 100755 --- a/install.sh +++ b/install.sh @@ -5,10 +5,10 @@ # # Usage: # Direct piped installation (recommended): -# 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 # # With version specification: -# curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/master/install.sh | sudo bash -s -- --version v5.0.0 +# curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash -s -- --version v5.0.0 # # Options: # -h, --help Show this help message @@ -60,10 +60,10 @@ if [ $SHOW_HELP -eq 1 ]; then echo "" echo "Examples:" echo " # Install latest version" - 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 "" echo " # Install specific version" - echo " curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/master/install.sh | sudo bash -s -- --version v5.0.0" + echo " curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash -s -- --version v5.0.0" exit 0 fi diff --git a/npmextra.json b/npmextra.json index d31bb75..7a834f7 100644 --- a/npmextra.json +++ b/npmextra.json @@ -1,7 +1,6 @@ { "@ship.zone/szci": { "npmGlobalTools": [], - "npmAccessLevel": "public", "npmRegistryUrl": "registry.npmjs.org" }, "@git.zone/tsdocker": { @@ -34,6 +33,13 @@ "continuous integration", "continuous deployment" ] + }, + "release": { + "registries": [ + "https://verdaccio.lossless.digital", + "https://registry.npmjs.org" + ], + "accessLevel": "public" } } -} +} \ No newline at end of file diff --git a/readme.md b/readme.md index 4506fd0..a088122 100644 --- a/readme.md +++ b/readme.md @@ -32,6 +32,20 @@ SmartCLI Router ## 📥 Installation +### Automated Installer (Recommended) + +The easiest way to install szci is using the automated installer script. It handles platform detection, binary download, and global setup: + +```sh +curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash +``` + +To install a specific version: + +```sh +curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash -s -- --version v7.0.0 +``` + ### Via NPM (downloads pre-compiled binary) ```sh @@ -234,7 +248,7 @@ stages: - deploy before_script: - - npm install -g @ship.zone/szci + - curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | bash prepare: stage: prepare @@ -278,7 +292,7 @@ jobs: - uses: actions/checkout@v4 - name: Install szci - run: npm install -g @ship.zone/szci + run: curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | sudo bash - name: Setup Node.js run: szci node install stable @@ -305,7 +319,7 @@ steps: - name: ci image: node:22 commands: - - npm install -g @ship.zone/szci + - curl -sSL https://code.foss.global/ship.zone/szci/raw/branch/main/install.sh | bash - szci node install stable - szci npm install - szci docker build diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 5ba1262..e64849a 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.0.0', + version: '7.1.0', 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.' }