Skip to content

CI: Add publish job#50

Merged
joncinque merged 2 commits intosolana-program:mainfrom
joncinque:publish
Mar 4, 2025
Merged

CI: Add publish job#50
joncinque merged 2 commits intosolana-program:mainfrom
joncinque:publish

Conversation

@joncinque
Copy link
Contributor

Problem

We need to publish new versions of some crates, such as spl-pod, but there's no automated publishing job on the repo yet.

Summary of changes

Following the model of the token-2022 repo, add a publish job and accompanying scripts.

#### Problem

We need to publish new versions of some crates, such as spl-pod, but
there's no automated publishing job on the repo yet.

#### Summary of changes

Following the model of the token-2022 repo, add a publish job and
accompanying scripts.
@joncinque joncinque requested a review from febo March 3, 2025 09:52
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.

Do you think we need to have the semver here? At the moment, semver runs on the "main" workflow, but this would not necessarily guarantee that the version being published follows semver.

@joncinque
Copy link
Contributor Author

Can we add it later? Since the semver job is already failing, I'm not too keen to add it here and have the publishes fail immediately 😅

@febo
Copy link
Contributor

febo commented Mar 4, 2025

Can we add it later? Since the semver job is already failing, I'm not too keen to add it here and have the publishes fail immediately 😅

Yeah, definitely, let's leave it to a separate PR. I was thinking more in the lines of how it is done in pinocchio, where the semver checks whether the version bump is correct before the publishing using the "future" version number.

@joncinque joncinque enabled auto-merge (squash) March 4, 2025 11:46
@joncinque joncinque merged commit 270e082 into solana-program:main Mar 4, 2025
24 of 25 checks passed
@joncinque joncinque deleted the publish branch March 4, 2025 11:52
joncinque added a commit to joncinque/single-pool that referenced this pull request Mar 11, 2025
#### Problem

It's time to publish some single-pool crates, but it's still using some
of the older repo setup. It can only publish clients, it has a lot of
copied scripts, the semver check runs on everything, etc etc

#### Summary of changes

Similar to solana-program/libraries#50, but for
the single-pool repo
joncinque added a commit to solana-program/single-pool that referenced this pull request Mar 11, 2025
* CI: Update like the other repos

#### Problem

It's time to publish some single-pool crates, but it's still using some
of the older repo setup. It can only publish clients, it has a lot of
copied scripts, the semver check runs on everything, etc etc

#### Summary of changes

Similar to solana-program/libraries#50, but for
the single-pool repo

* Fixups

* Fixup nightly toolchain

* Fixup scripts

* Fix js legacy test

* Add build step properly
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