Skip to content
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

ci: add GH action workflow for releasing to GH #95

Merged
merged 7 commits into from
Apr 24, 2023

Conversation

smoya
Copy link
Member

@smoya smoya commented Apr 24, 2023

Description

This PR adds a GH action to automatically release to GH following conventional commits.

Related issue(s)
#94 (comment)

cc @derberg @14Richa

Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

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

add releaserc

---
branches:
- master
# by default release workflow reacts on push not only to master. 
#This is why out of the box sematic release is configured for all these branches
- name: next-spec
  prerelease: true
- name: next-major
  prerelease: true
- name: next-major-spec
  prerelease: true
- name: beta
  prerelease: true
- name: alpha
  prerelease: true
plugins:
- - "@semantic-release/commit-analyzer"
  - preset: conventionalcommits
- - "@semantic-release/release-notes-generator"
  - preset: conventionalcommits
- "@semantic-release/github"

and I added 2 comments to make sure you use specific versions of packages and not get surprised by some future releases

.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
smoya and others added 2 commits April 24, 2023 12:38
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
@smoya smoya requested a review from derberg April 24, 2023 10:38
@smoya
Copy link
Member Author

smoya commented Apr 24, 2023

Done + accepted suggestions.

add releaserc

---
branches:
- master
# by default release workflow reacts on push not only to master. 
#This is why out of the box sematic release is configured for all these branches
- name: next-spec
  prerelease: true
- name: next-major
  prerelease: true
- name: next-major-spec
  prerelease: true
- name: beta
  prerelease: true
- name: alpha
  prerelease: true
plugins:
- - "@semantic-release/commit-analyzer"
  - preset: conventionalcommits
- - "@semantic-release/release-notes-generator"
  - preset: conventionalcommits
- "@semantic-release/github"

and I added 2 comments to make sure you use specific versions of packages and not get surprised by some future releases

Done + accepted suggestions.

.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Outdated Show resolved Hide resolved
smoya and others added 2 commits April 24, 2023 12:46
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
Co-authored-by: Lukasz Gornicki <lpgornicki@gmail.com>
@smoya smoya requested review from derberg April 24, 2023 10:46
Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

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

LGTM, not a codeowner though

@smoya
Copy link
Member Author

smoya commented Apr 24, 2023

/rtm

@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants