Skip to content

CI: Add automated publish job #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 8, 2025
Merged

Conversation

joncinque
Copy link
Contributor

Problem

It's time to publish spl-token that uses all of the component crates to make downstream users happy, but there's no publish job on the repo.

Summary of changes

This PR is as bit of a grab-bag of changes, but they're all to make the automated publish job work. The changes contained are:

  • move semver check job to only run during publish
  • update publish script to be generic, copying from the libraries repo
  • update testing script to be generic for rust packages by not running cargo test-sbf and instead doing it by hand, like in token-2022
  • rename testing script to test.mjs
  • remove test-sbf feature from spl-token tests
  • update solana tools / toolchain versions

@joncinque joncinque requested a review from febo March 6, 2025 16:37
#### Problem

It's time to publish spl-token that uses all of the component crates to
make downstream users happy, but there's no publish job on the repo.

#### Summary of changes

This PR is as bit of a grab-bag of changes, but they're all to make the
automated publish job work. The changes contained are:

* move semver check job to only run during publish
* update publish script to be generic, copying from the libraries repo
* update testing script to be generic for rust packages by not running
  `cargo test-sbf` and instead doing it by hand, like in token-2022
* rename testing script to `test.mjs`
* remove `test-sbf` feature from spl-token tests
* update solana tools / toolchain versions
Copy link
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@joncinque joncinque merged commit 2f189b1 into solana-program:main Mar 8, 2025
11 checks passed
@joncinque joncinque deleted the publish branch March 8, 2025 00:01
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