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

Created a CI to automatically attach builds to releases #1891

Closed
wants to merge 28 commits into from
Closed

Created a CI to automatically attach builds to releases #1891

wants to merge 28 commits into from

Conversation

marameref
Copy link

@marameref marameref commented Oct 18, 2023

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

with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
Copy link
Member

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

tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
Copy link
Member

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.

@wtdcode
Copy link
Member

wtdcode commented Oct 19, 2023

This workflow looks pretty promising. Before merging this, could you:

  1. show a successful run of this workflow
  2. rebase to dev branch

@marameref marameref closed this by deleting the head repository Oct 20, 2023
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.

None yet

2 participants