Skip to content

Publish: Use package name minus "spl-" instead of dir for tag#55

Merged
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:publishtag
Mar 6, 2025
Merged

Publish: Use package name minus "spl-" instead of dir for tag#55
joncinque merged 1 commit intosolana-program:mainfrom
joncinque:publishtag

Conversation

@joncinque
Copy link
Contributor

@joncinque joncinque commented Mar 4, 2025

Problem

The repo has some nested packages, such as program-error/derive, but the publish script will use the basename for the tag name. This means that we'll publish a tag called derive, rather than program-error-derive.

Summary of changes

Change the tag name to the package name minus spl-. Also, the publish commit is a generic message, so customize it.

@joncinque joncinque requested a review from febo March 4, 2025 22:26
@joncinque joncinque changed the title Publish: Use package name minus "spl-" instead of dir Publish: Use package name minus "spl-" instead of dir for tag Mar 4, 2025
#### Problem

The repo has some nested packages, such as `program-error/derive`, but
the publish script will use the basename for the tag name. This means
that we'll publish a tag called `derive`, rather than
`program-error-derive`.

#### Summary of changes

Change the tag name to the package name minus `spl-`. Also, the publish
commit is a generic message, so customize it.
@joncinque joncinque merged commit 1873e10 into solana-program:main Mar 6, 2025
25 checks passed
@joncinque joncinque deleted the publishtag branch March 6, 2025 12:10
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