Skip to content

Publish through Atlassian's Artifactory - #1

Merged
koterpillar merged 2 commits into
mainfrom
ci/atlassian-publish-credentials
Nov 9, 2026
Merged

koterpillar merged 2 commits into
mainfrom
ci/atlassian-publish-credentials

Conversation

@koterpillar

@koterpillar koterpillar commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Sets up publishing of @atlassian/cloudflared to npmjs through Atlassian's Artifactory. The release flow is the same as before: changesets opens a release PR, and merging it publishes.

Changes

  • package.json: adds publishConfig.registry, which points at https://packages.atlassian.com/api/npm/npm-public/. Artifactory forwards packages from there to npmjs.
  • release.yml: gets temporary credentials from atlassian-labs/artifact-publish-token, the same way @atlassian/connect-to-forge does. The action writes .npmrc-public, which reads the credentials from environment variables. The workflow moves that file to ~/.npmrc so pnpm changeset publish uses it, and so it can't be committed into a release PR. The npm trusted-publishing comments are removed because they no longer apply.

The package is on the npm-public allow list.

⚠️ Merging publishes immediately

There are no pending changesets, so merging runs changeset publish and releases @atlassian/cloudflared@0.7.3. That is the current upstream code, without the binary-update fix from JacobLinCool#43. The first release also creates the package on npm, which the Artifacts Team needs before it can set up trusted publishing.

🤖 Generated with Claude Code

koterpillar and others added 2 commits November 9, 2026 14:52
Keep the changesets release flow, but publish to Artifactory's npm-public
repository, which forwards @atlassian/cloudflared to npmjs. Credentials come
from atlassian-labs/artifact-publish-token instead of npm trusted publishing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@koterpillar
koterpillar merged commit ff4840b into main Nov 9, 2026
18 checks passed
@koterpillar
koterpillar deleted the ci/atlassian-publish-credentials branch November 9, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant