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

Github action: create version number without manual input #360

Closed
5 tasks done
Tracked by #359
grischperl opened this issue Dec 21, 2023 · 0 comments · Fixed by kyma-project/eventing-tools#53 or #396
Closed
5 tasks done
Tracked by #359
Assignees
Milestone

Comments

@grischperl
Copy link
Collaborator

grischperl commented Dec 21, 2023

Description

Create a Github action that triggers the whole release flow, which is reusable for other repositories. The version is not manually entered as input but instead automatically taken from the naming of the release branch from which the release is being created.

note: some work was done here already: EM and here as well: EPP

Acceptance

  • Reusable for all repositories
    -> reusable script
  • Uses the release branch name as the version input
    -> here
  • Check that release can only be created from branches following the pattern release-x.y
    -> here
  • Version input created by branch name (x.y from branch name, z from existing version +1)
  • Check that version follows correct order
    (e.g. 1.0.1 already exists, validation prevents you from creating 0.0.5)
    • might not be needed if following the branch versioning
@grischperl grischperl changed the title Github action: without version input Github action: Create release without version input Dec 21, 2023
@friedrichwilken friedrichwilken self-assigned this Dec 21, 2023
@friedrichwilken friedrichwilken changed the title Github action: Create release without version input Github action: create version number without manual input Jan 4, 2024
@friedrichwilken friedrichwilken self-assigned this Jan 11, 2024
@friedrichwilken friedrichwilken linked a pull request Jan 15, 2024 that will close this issue
@grischperl grischperl modified the milestones: 1.0.3, 1.1.0 Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment