Skip to content

cli: Anchor registry publishing#570

Merged
armaniferrante merged 11 commits into
masterfrom
armani/publish
Aug 8, 2021
Merged

cli: Anchor registry publishing#570
armaniferrante merged 11 commits into
masterfrom
armani/publish

Conversation

@armaniferrante

@armaniferrante armaniferrante commented Aug 3, 2021

Copy link
Copy Markdown
Contributor

Changes needed for the MVP of the anchor program registry for verifiable builds.

  • Adds a [registry] section in the Anchor toml.
  • Adds the anchor login <api-token> command.
  • Adds the anchor publish <package> command.
  • Adds a root level anchor_version field to the Anchor.toml for specifying the cli version to build with (verifiable builds only).
  • Renames [clusters.<network>] to [programs.<network>].
  • Changes workspace member/exclude path finding to require paths relative to the workspace root.
  • Makes a bunch of miscellaneous fixes, e.g., so that the registry can produce verifiable builds of non anchor programs.
    • Adds solana_version setting to the Anchor.toml for setting the solana toolchain version for verifiable builds.

@armaniferrante armaniferrante changed the title cli: Anchor registry publshing cli: Anchor registry publishing Aug 3, 2021
@armaniferrante
armaniferrante marked this pull request as ready for review August 8, 2021 08:48
@armaniferrante
armaniferrante merged commit 3248481 into master Aug 8, 2021
@armaniferrante
armaniferrante deleted the armani/publish branch August 8, 2021 09:11
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 2026
@jamie-osec jamie-osec added this to the Pre-1.0 milestone Jun 24, 2026
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.

2 participants