github-issue-parser icon indicating copy to clipboard operation
github-issue-parser copied to clipboard

Fix automated release / tagging

Open joshjohanning opened this issue 3 years ago • 3 comments

See: https://github.com/stefanbuck/github-issue-parser/pull/47#issuecomment-1286189244

For some odd reason the release pipeline was using an older commit as a baseline and this resulted in another 3.0.0 release ergo the pipeline failed with tag 'v3.0.0' already exists. I created the release manual for now, but the same happened earlier before as well see #43 (comment) @gr2m do you have any idea what is causing this?

Given this is happening since #39 it must be related to this change. Is there another way to address #23?

cc @stefanbuck @gr2m

joshjohanning avatar Oct 25 '22 13:10 joshjohanning

Looking at https://github.com/systemd/systemd/pull/25900#issuecomment-2028912672 I wonder if the code was force-pushed and the history was overwritten at some point?

evverx avatar Mar 31 '24 22:03 evverx

Tags or commits currently cannot be used directly because they lack the dist/ folder, e.g. https://github.com/stefanbuck/github-issue-parser/tree/v3.2.0

I suggest we copy the setup of https://github.com/actions/create-github-app-token, where the dist/ folder is updated automatically as part of the release directly in the default branch. Repository rules now allow branch protections to be circumvented for actors, so we can register a single purpose GitHub App for this task, in order to keep branch protections in tact as they are

gr2m avatar May 31 '24 23:05 gr2m

See also https://github.com/stefanbuck/github-issue-parser/issues/74

gr2m avatar May 31 '24 23:05 gr2m