-
Notifications
You must be signed in to change notification settings - Fork 87
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
Proposal: Willing to add autorelease support to GitHub actions #50
Comments
Or we could do something similar to what's been done here: name: Releases
on:
push:
branches:
- main
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: conventional Changelog Action
id: changelog
uses: TriPSs/conventional-changelog-action@v3.7.1
with:
github-token: ${{ secrets.CHANGELOG_RELEASE }}
version-file: './package.json,./package-lock.json'
- name: create release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.CHANGELOG_RELEASE }}
with:
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }} But the downside to this is, this relies heavily on Commit message format to perform the releases and moving forward, commits should start with |
|
goreleaser looks promising, should we commit to it? |
I'm a bit skeptical for third-party actions, but GitHub's |
We can write our own go program that would achieve it. But what is your idea workflow? What would it look like? |
Goreleaser can also be run manually (i.e. write your own Action to invoke it). |
I've implemented a rudimentary release asset upload in #52 |
Hey @ignatk,
Based on your comment I understand that you want to add auto-release via GitHub actions, I am willing to help with this.
Here is how I am envisioning the workflow:
CHANGELOG.md
file to this repo.CHANGELOG.md
file in the master/main branch, a release is triggered.If you have a different vision for the auto-release, please do share it with me.
Before we start doing this, we could also change the primary branch to main (If I recall correctly, you wanted to change master to main).
Let me know your thoughts.......
The text was updated successfully, but these errors were encountered: