-
Notifications
You must be signed in to change notification settings - Fork 66
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
What to do to switch to new release configuration - JS/TS projects #205
Comments
followed instructions in asyncapi/openapi-schema-parser#170 and it worked well |
This issue has been automatically marked as stale because it has not had recent activity 😴 It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation. There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model. Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here. Thank you for your patience ❤️ |
Writing this issue to have instruction stored somewhere. I guess best would be to put it as separate issue in all repositories and mark those as
good-first-issue
- something to think about 🤔What to do in a project to enable releases for the first time
get-global-node-release-workflows
: thanks to this topic your repository will be populated with the following GitHub Action workflows:package.json
in the repo, after releaseasyncapi
repositories that use your packageget-global-releaserc
: thanks to this topic your repository will be populated with generic.releaserc
for thesemantic-release
package. It is recommended to use this generic configuration and if you have some other needs, like docker release or some others, just use different workflows. You can opt-out from this generic configuration, not add this specific topic to the repository, and create your own configuration using semantic-release configuration guide.1.0.0
as this is the best practice. If you prefer to start with minor releases first and are afraid to release major release first, you need to create the first0.0.1
release in GitHub manuallypackage.json
starts with@asyncapi/
to make sure it is published under proper location in NPMpackage.json
:script
topackage.json
:bots
team hasMaintain
role in the repositoryfix:
,feat:
orfeat!:
Now ask maintainers of
.github
repo to go to https://github.com/asyncapi/.github/actions/workflows/global-replicator.yml and run the workflow manually for your repoWhat to do in a project that already had releases but the "old-way"
If you do not follow below steps, and do not perform below changes, current release-related workflows that you already have in repo will not get any future updates/improvements from the central
.github
repository, including security updates.get-global-node-release-workflows
: thanks to this topic your repository will start receiving again the following GitHub Action workflows:package.json
in the repo, after releaseasyncapi
repositories that use your packageget-global-releaserc
: thanks to this topic your repository will be populated with generic.releaserc
for thesemantic-release
package. It is recommended to use this generic configuration and if you have some other needs, like docker release or some others, just use different workflows. You can opt-out from this generic configuration, not add this specific topic to the repository, and create your own configuration using semantic-release configuration guide.package.json
from the following:"release": "semantic-release"
is no longer needed, as the package is now run directly withnpx
devDependencies
can be removed as they are installed through the GitHub Action workflow:@semantic-release/commit-analyzer
@semantic-release/github
@semantic-release/npm
@semantic-release/release-notes-generator
conventional-changelog-conventionalcommits
semantic-release
release
property responsible for release configuration.Now ask maintainers of
.github
repo to go to https://github.com/asyncapi/.github/actions/workflows/global-replicator.yml and run the workflow manually for your repoThe text was updated successfully, but these errors were encountered: