back-stack / back-stack/showcase
Semantic Versioning for BACK Stack Releases
- Vorherrschende Sprache
- TypeScript
- Sterne
- 28
- Forks
- 28
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
We should implement a workflow for semantic versioning of the BACK stack components to clarify the differences between releases and targets for end users.
Suggested workflow:
- Changes to the `main` branch result in a new release candidate for the next semantic minor version.
- The current version is `0.1.0`, so changing the main branch will result in the `0.2.0-rc.1` tag. The next change will result in `0.2.0-rc.2`, and so on.
- Once ready, we will cut a new release (manually trigger for now).
- So if `0.2.0-rc.2` is the current release candidate, we will release `0.2.0`.
This should be (relatively) simple to implement with a GitHub workflow. The existing [`release` workflow](https://github.com/back-stack/showcase/blob/main/.github/workflows/release.yaml) cuts a new tag with the commit sha for each push to the `main` branch. This should be modified so that the `release` workflow handles generated the new version tag and then build steps are moved to a new `build` workflow that is triggered by the creation of a new tag.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne mit .github/workflows/release.yaml und untersuche, wie Pushes auf main derzeit commit-SHA-Tags erstellen und Build-Schritte aufrufen. Trenne die Build-Schritte in einen neuen Build-Workflow auf, der durch die Erstellung eines Tags ausgelöst wird, und überprüfe anschließend, dass main sequenzielle Semantic-Version-Release-Candidate-Tags erzeugt und dass der manuelle Release den entsprechenden finalen Tag erzeugt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- github-actions
- Bereich
- build-system, ci-cd, release
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 45/100