-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Created a CI to automatically attach builds to releases #1891
Conversation
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please create a draft anyway because we will edit it in most cases
.github/workflows/release.yml
Outdated
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it's possible with Github Action, but it would be better prerelease
is set to true
when the tag contains rc
.
This workflow looks pretty promising. Before merging this, could you:
|
In this PR, I Created a workflow on release.yml that automatically creates a release which is triggered by tag push to remote/origin.
The workflow includes the steps to
Create a release,
Download artifacts locally
Attach the downloaded artifacts to the release
To trigger this, you can tag your repo using git tag and push the repo to production using git push origin ,
can be any tag starting with rc* eg rc0.09, rc0.01, rc1.2 etc