Skip to content

CI: Don't specify bash for the semver step#135

Merged
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:no-bash
Aug 11, 2025
Merged

CI: Don't specify bash for the semver step#135
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:no-bash

Conversation

@joncinque
Copy link
Contributor

Problem

The publish job fails for proc-macro crates because they don't specify a crate-type. This means that the first call to toml get ... fails, which causes the whole job to fail.

Summary of changes

Cargo issues a warning if you specify crate-type = ["proc-macro"], so rather than creating a new warning, simply allow for errors when searching for the string.

#### Problem

The publish job fails for proc-macro crates because they don't specify a
crate-type. This means that the first call to `toml get ...` fails,
which causes the whole job to fail.

#### Summary of changes

Cargo issues a warning if you specify `crate-type = ["proc-macro"]`, so
rather than creating a new warning, simply allow for errors when
searching for the string.
@joncinque joncinque requested a review from grod220 August 11, 2025 18:33
@joncinque joncinque merged commit 62d6f54 into solana-program:main Aug 11, 2025
29 checks passed
@joncinque joncinque deleted the no-bash branch August 11, 2025 20:29
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