{"_id":"@at-blacknight/semantic-release-ci-output","_rev":"4-0323e930f70678868284e98d17f134e4","name":"@at-blacknight/semantic-release-ci-output","dist-tags":{"latest":"0.1.0","alpha":"0.1.0-alpha.2"},"versions":{"1.0.0":{"name":"@at-blacknight/semantic-release-ci-output","version":"1.0.0","keywords":["semantic-release","github-actions","azure-devops","gitlab-ci","ci","pipeline","output","variables"],"author":{"name":"Adam Butler"},"license":"MIT","_id":"@at-blacknight/semantic-release-ci-output@1.0.0","maintainers":[{"name":"at-blacknight","email":"npm@at-blacknight.com"}],"homepage":"https://github.com/at-blacknight-projects/semantic-release-ci-output#readme","bugs":{"url":"https://github.com/at-blacknight-projects/semantic-release-ci-output/issues"},"dist":{"shasum":"fd1b5a4f9cf6e49ebf1c0068a69a3ff75abfcec2","tarball":"https://registry.npmjs.org/@at-blacknight/semantic-release-ci-output/-/semantic-release-ci-output-1.0.0.tgz","fileCount":15,"integrity":"sha512-SxJCY6ltDN6SsV7U+xqjuugNss6VUs1BMuYLU1ENeuRhC69452QfcvncrtCUAZOxKZCR/BBMMFmOfOr6xecLjA==","signatures":[{"sig":"MEUCIQDuUmDzt274RM6N4hDff9m1P4G1z5f+oxqOiSUyM8AXAQIgXFCCw0SPcBhlqTcvWk7n46M/OKdTeg00Ojutx8/Duho=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27548},"main":"index.js","gitHead":"3a0669fdf2c8d32c9a14a1d011c0e5fc112164ad","scripts":{"lint":"eslint lib index.js","test":"node --test --test-concurrency=1"},"_npmUser":{"name":"at-blacknight","email":"npm@at-blacknight.com"},"repository":{"url":"git+https://github.com/at-blacknight-projects/semantic-release-ci-output.git","type":"git"},"_npmVersion":"10.9.2","description":"Semantic release plugin that outputs release information to CI platforms (GitHub Actions, Azure DevOps, GitLab CI, and more).","directories":{},"_nodeVersion":"22.16.0","dependencies":{"env-ci":"^11.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.57.1","eslint-plugin-n":"^16.6.2","semantic-release":"^25.0.3","eslint-plugin-import":"^2.32.0","@semantic-release/git":"^10.0.1","eslint-plugin-promise":"^6.6.0","eslint-config-standard":"^17.1.0","@semantic-release/github":"^12.0.6","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"semantic-release":">=20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-ci-output_1.0.0_1773803849480_0.057624272934236886","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.1":{"name":"@at-blacknight/semantic-release-ci-output","version":"0.1.0-alpha.1","keywords":["semantic-release","github-actions","azure-devops","gitlab-ci","ci","pipeline","output","variables"],"author":{"name":"Adam Butler"},"license":"MIT","_id":"@at-blacknight/semantic-release-ci-output@0.1.0-alpha.1","maintainers":[{"name":"at-blacknight","email":"npm@at-blacknight.com"}],"homepage":"https://github.com/at-blacknight-projects/semantic-release-ci-output#readme","bugs":{"url":"https://github.com/at-blacknight-projects/semantic-release-ci-output/issues"},"dist":{"shasum":"cb168304033175e71c9b9fa96c919ba74b4239d1","tarball":"https://registry.npmjs.org/@at-blacknight/semantic-release-ci-output/-/semantic-release-ci-output-0.1.0-alpha.1.tgz","fileCount":16,"integrity":"sha512-i92yQrk0y+pI9VxXgA2djIC92dLoncWuuPhFoNm6n+7GG8N7KIVheMLJiuULEgELBMNiL3Vl1Afkwf2+cjGhPw==","signatures":[{"sig":"MEUCIQDR/PUE0ixyy92fPS1ub0tweEaDGz0zCxqBVWveMqTvVQIgUIp/KcY/Oz4WPPICJUKUqyvty783YdgqeCjRpBceC08=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28278},"main":"index.js","gitHead":"1c5a50102a046b295d6368685155c4fd558dbe6d","scripts":{"lint":"eslint lib index.js","test":"node --test --test-concurrency=1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2cd1099f-79f3-43a1-ac6b-81ae946f0d22"}},"repository":{"url":"git+https://github.com/at-blacknight-projects/semantic-release-ci-output.git","type":"git"},"_npmVersion":"11.11.1","description":"Semantic release plugin that outputs release information to CI platforms (GitHub Actions, Azure DevOps, GitLab CI, and more).","directories":{},"_nodeVersion":"24.14.0","dependencies":{"env-ci":"^11.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^8.57.1","eslint-plugin-n":"^16.6.2","semantic-release":"^25.0.3","eslint-plugin-import":"^2.32.0","@semantic-release/git":"^10.0.1","eslint-plugin-promise":"^6.6.0","eslint-config-standard":"^17.1.0","@semantic-release/github":"^12.0.6","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"semantic-release":">=20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-ci-output_0.1.0-alpha.1_1773804255235_0.754659627435754","host":"s3://npm-registry-packages-npm-production"}},"0.1.0-alpha.2":{"name":"@at-blacknight/semantic-release-ci-output","version":"0.1.0-alpha.2","keywords":["semantic-release","github-actions","azure-devops","gitlab-ci","ci","pipeline","output","variables"],"author":{"name":"Adam Butler"},"license":"MIT","_id":"@at-blacknight/semantic-release-ci-output@0.1.0-alpha.2","maintainers":[{"name":"at-blacknight","email":"npm@at-blacknight.com"}],"homepage":"https://github.com/at-blacknight-projects/semantic-release-ci-output#readme","bugs":{"url":"https://github.com/at-blacknight-projects/semantic-release-ci-output/issues"},"dist":{"shasum":"df75cdf6b552e4799bf2ee95251fcf791155a512","tarball":"https://registry.npmjs.org/@at-blacknight/semantic-release-ci-output/-/semantic-release-ci-output-0.1.0-alpha.2.tgz","fileCount":16,"integrity":"sha512-fGIccohVmwMOjqTivKq/9msszX4GFzxveiLu8ekKHAwf1wl2niHvMyuFQhFXqPUljWg/ngdvNj8CYJzd/iVzPQ==","signatures":[{"sig":"MEQCIEt0O79Lh2zKHISzKGx9FgJ2ImOmDfegx+TQKJG5k0SgAiAVI192HW4FT7+gCZNhQcuc9zcJOTYmeSQ8/SMRYva9kA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28947},"main":"index.js","gitHead":"1448e18c7322cf27966b76a4aea1229cb807361c","scripts":{"lint":"eslint lib index.js","test":"node --test --test-concurrency=1"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2cd1099f-79f3-43a1-ac6b-81ae946f0d22"}},"repository":{"url":"git+https://github.com/at-blacknight-projects/semantic-release-ci-output.git","type":"git"},"_npmVersion":"11.11.1","description":"Semantic release plugin that outputs release information to CI platforms (GitHub Actions, Azure DevOps, GitLab CI, and more).","directories":{},"_nodeVersion":"24.14.0","dependencies":{"env-ci":"^11.0.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"eslint":"^8.57.1","eslint-plugin-n":"^16.6.2","semantic-release":"^25.0.3","eslint-plugin-import":"^2.32.0","@semantic-release/git":"^10.0.1","eslint-plugin-promise":"^6.6.0","eslint-config-standard":"^17.1.0","@semantic-release/github":"^12.0.6","@semantic-release/changelog":"^6.0.3"},"peerDependencies":{"semantic-release":">=20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/semantic-release-ci-output_0.1.0-alpha.2_1774172839419_0.23565026902163688","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@at-blacknight/semantic-release-ci-output","version":"0.1.0","description":"Semantic release plugin that outputs release information to CI platforms (GitHub Actions, Azure DevOps, GitLab CI, and more).","main":"index.js","scripts":{"test":"node --test --test-concurrency=1","lint":"eslint lib index.js"},"repository":{"type":"git","url":"git+https://github.com/at-blacknight-projects/semantic-release-ci-output.git"},"author":{"name":"Adam Butler"},"license":"MIT","bugs":{"url":"https://github.com/at-blacknight-projects/semantic-release-ci-output/issues"},"homepage":"https://github.com/at-blacknight-projects/semantic-release-ci-output#readme","keywords":["semantic-release","github-actions","azure-devops","gitlab-ci","ci","pipeline","output","variables"],"dependencies":{"env-ci":"^11.0.0"},"peerDependencies":{"semantic-release":">=20.0.0"},"devDependencies":{"@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.6","eslint":"^8.57.1","eslint-config-standard":"^17.1.0","eslint-plugin-import":"^2.32.0","eslint-plugin-n":"^16.6.2","eslint-plugin-promise":"^6.6.0","semantic-release":"^25.0.3"},"gitHead":"81a248f8ad7b707393c4ef2e39e3cdbfe66b81a0","_id":"@at-blacknight/semantic-release-ci-output@0.1.0","_nodeVersion":"24.14.1","_npmVersion":"11.11.1","dist":{"integrity":"sha512-TrHgHpjN+hFo8rufaVPzozgWadWu8b6UPbsbcSv6UWDSNqvL7mWInnsIAQdUtWVvq0MAYKeKpqZ8YsJ57PMqEg==","shasum":"84def01bc52759d3c5a4437af67a395b1786768d","tarball":"https://registry.npmjs.org/@at-blacknight/semantic-release-ci-output/-/semantic-release-ci-output-0.1.0.tgz","fileCount":16,"unpackedSize":30234,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC1UmyDEX1a80gOQ31f9w4P3XSah956PwA/BFCIHjaIAwIhALl22nL6cTgDpMLIbAeBbWK1l7JYmEllFxzLoZ3TOR7w"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:2cd1099f-79f3-43a1-ac6b-81ae946f0d22"}},"directories":{},"maintainers":[{"name":"at-blacknight","email":"npm@at-blacknight.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/semantic-release-ci-output_0.1.0_1776897672120_0.3791357269576845"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-18T03:17:29.373Z","modified":"2026-04-22T22:41:12.395Z","1.0.0":"2026-03-18T03:17:29.626Z","0.1.0-alpha.1":"2026-03-18T03:24:15.368Z","0.1.0-alpha.2":"2026-03-22T09:47:19.560Z","0.1.0":"2026-04-22T22:41:12.291Z"},"bugs":{"url":"https://github.com/at-blacknight-projects/semantic-release-ci-output/issues"},"author":{"name":"Adam Butler"},"license":"MIT","homepage":"https://github.com/at-blacknight-projects/semantic-release-ci-output#readme","keywords":["semantic-release","github-actions","azure-devops","gitlab-ci","ci","pipeline","output","variables"],"repository":{"type":"git","url":"git+https://github.com/at-blacknight-projects/semantic-release-ci-output.git"},"description":"Semantic release plugin that outputs release information to CI platforms (GitHub Actions, Azure DevOps, GitLab CI, and more).","maintainers":[{"name":"at-blacknight","email":"npm@at-blacknight.com"}],"readme":"# @at-blacknight/semantic-release-ci-output\n\n[semantic-release](https://github.com/semantic-release/semantic-release) plugin that outputs release information to CI platforms. Auto-detects the CI environment and writes variables using the native mechanism for each platform.\n\nWorks in **dry-run mode** — unlike `@semantic-release/changelog`, the changelog file is written during `generateNotes` which executes in dry-run.\n\n## Supported Platforms\n\n| Platform | Output Mechanism |\n|----------|-----------------|\n| GitHub Actions | Writes to `$GITHUB_OUTPUT` file |\n| Azure DevOps | `##vso[task.setvariable]` commands |\n| GitLab CI/CD | Writes to dotenv file |\n| Other/Local | Logs `key=value` to stdout |\n\nPlatform detection is powered by [env-ci](https://github.com/semantic-release/env-ci).\n\n## Install\n\n```bash\nnpm install --save-dev @at-blacknight/semantic-release-ci-output\n```\n\n## Usage\n\nAdd the plugin to your `plugins` list in your semantic-release configuration. It replaces both `@semantic-release/changelog` and `@semantic-release/exec` for CI variable output.\n\n```yaml\n# .releaserc.yaml\nplugins:\n  - \"@semantic-release/commit-analyzer\"\n  - \"@semantic-release/release-notes-generator\"\n  - \"@at-blacknight/semantic-release-ci-output\"\n```\n\n### With options\n\n```yaml\nplugins:\n  - \"@semantic-release/commit-analyzer\"\n  - \"@semantic-release/release-notes-generator\"\n  - - \"@at-blacknight/semantic-release-ci-output\"\n    - writeNotesFile: true\n      notesFilePath: \"CHANGELOG-NEW.md\"\n      notesFileBehaviour: \"overwrite\"\n      setWouldRelease: true\n      setLastReleaseVariables: false\n      isOutput: true\n```\n\n## Output Variables\n\nThe following variables are set on the CI platform:\n\n### Always set (analyzeCommits)\n\n| Variable | Description |\n|----------|-------------|\n| `would_release` | `false` initially, set to `true` if a release is determined |\n\n### Set when a release is determined (verifyRelease)\n\n| Variable | Description |\n|----------|-------------|\n| `would_release` | `true` |\n| `version` | The next release version (e.g. `1.2.3`) |\n| `release_type` | The release type (`major`, `minor`, `patch`, `prerelease`) |\n| `release_channel` | The release channel (e.g. `uat`, `develop`, or empty for default) |\n| `git_tag` | The git tag for the release (e.g. `v1.2.3`) |\n| `git_head` | The git commit SHA |\n\n### Last release variables (opt-in)\n\nWhen `setLastReleaseVariables: true`:\n\n| Variable | Description |\n|----------|-------------|\n| `last_release_version` | Previous release version |\n| `last_release_git_head` | Previous release commit SHA |\n| `last_release_git_tag` | Previous release git tag |\n| `last_release_channel` | Previous release channel |\n\n## Changelog File\n\nBy default, the plugin writes the release notes to `CHANGELOG-NEW.md` in the working directory. This happens during `generateNotes` which runs even in `--dry-run` mode.\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| `writeNotesFile` | `true` | Write release notes to a file |\n| `notesFilePath` | `CHANGELOG-NEW.md` | Path to the changelog file |\n| `notesFileBehaviour` | `overwrite` | `overwrite`, `prepend`, or `append` |\n\n## Configuration Options\n\n| Option | Default | Description |\n|--------|---------|-------------|\n| `setWouldRelease` | `true` | Set the `would_release` variable |\n| `setLastReleaseVariables` | `false` | Set variables for the last release |\n| `isOutput` | `true` | Mark variables as output variables (ADO: `isOutput=true`) |\n| `writeNotesFile` | `true` | Write changelog file |\n| `notesFilePath` | `CHANGELOG-NEW.md` | Changelog file path |\n| `notesFileBehaviour` | `overwrite` | How to handle existing changelog file |\n\n## Lifecycle Hooks\n\n| Hook | Purpose |\n|------|---------|\n| `analyzeCommits` | Sets `would_release=false` and last release variables |\n| `verifyRelease` | Sets `would_release=true` and all release variables |\n| `generateNotes` | Writes the changelog file |\n\n## License\n\nMIT\n","readmeFilename":"README.md"}