Closed luka5 closed 9 months ago
To trigger this workflow automatically, we could consider adding gh workflow --repo goharbor/go-client run prepare-new-version.yml --field version=${{ github.event.inputs.version }}
in the publish_release.yml workflow in goharbor/harbor. Just make sure, the token has enough permissions to trigger the workflow.
What do you think about this PR @chlins @wy65701436 @Vad1mo ?
Thank you for your contribution, this looks good.
Hi, @luka5 After I merged your PR and triggered the action "Prepare new release" and input 2.10.0. but there is no release named 2.10.0 created. could you please describe the detail process to create a new release?
Hi @stonezdj, the "Prepare new release" run (https://github.com/goharbor/go-client/actions/runs/7499663802/job/20416866914) did create https://github.com/goharbor/go-client/pull/23.
Now you can review it and approve. After merge, the new release will be created in https://github.com/goharbor/go-client/actions/workflows/tag-release.yml
@luka5 can we add that feature -s
?¨
here we go: https://github.com/goharbor/go-client/pull/24
As discussed in https://github.com/goharbor/go-client/pull/19, I did implement some workflows to automate the release process. This process now looks like:
make gen-harbor-api
This requires the setting
Allow GitHub Actions to create and approve pull requests
inSettings > Actions > General
to be enabled.Tested in https://github.com/luka5/go-client/pulls