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

Post Github Release with github action #1242

Open
liangyuanpeng opened this issue Oct 11, 2023 · 5 comments
Open

Post Github Release with github action #1242

liangyuanpeng opened this issue Oct 11, 2023 · 5 comments

Comments

@liangyuanpeng
Copy link
Contributor

Now, github release of Jetcd staying at jetcd-0.6.1 , Let us try to restore jetcd's github release. In order to reduce maintenance pressure, use github action to automate the release process.

let me work for it if possible.

Any thought? @lburgazzoli

@lburgazzoli
Copy link
Collaborator

unfortunately a release cannot be fully automated (unless you want to store gpg keys on github) so I'm doing it manually.
ideally, the gradle build script can do that

@liangyuanpeng
Copy link
Contributor Author

Some Note that i just talking about github release and not release java jar.

@lburgazzoli
Copy link
Collaborator

Yes but since the release is a manual process, then the github release can ideally be done by the gradle build script.
Not sure how that could be done by a GitHub action, mind explaining what you have in mind ?

@liangyuanpeng
Copy link
Contributor Author

Create a new github release with github action when a new tag of jetcd-* is pushed.

on:
  push:
    tags:
      - "jetcd-*"
      
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Create Release and Upload Release Asset
      uses: softprops/action-gh-release@v1
...

Does it make sense?

@lburgazzoli
Copy link
Collaborator

but that won't include any java artifact so in such case it could work, yes
as a side note, instead of using an external action, you can use the gh command line too

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

No branches or pull requests

2 participants