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

Adjusting workflows to a unified release delivery process #145

Merged
merged 11 commits into from
Nov 20, 2024

Conversation

tomaszgolebiowski
Copy link
Collaborator

CLOSE https://linear.app/sourcegraph/issue/CODY-4323/build-definitions-and-versioning

  • The preview and release versions are now created using the same workflow.
  • Workflow is manually triggered with a parameter indicating whether it is a preview or a release version.
  • Process of starting the release by adding tags has been abandoned.
  • From now on, a release candidate will be created by creating a branch with the name convention: vs-v0.2.x
  • Based on the branch name and existing tags, the next version number will be automatically generated
  • Minor version number will determine whether it is a preview version (odd number) or a release version (even number).
  • Version tags will be added automatically.

Examples of versioning
branch vs-v0.2.x -> preview 0.1.0 | release 0.2.0
branch vs-v0.2.x with tag vs-insiders-v0.1.0 -> preview 0.1.1 | release 0.2.0
branch vs-v0.2.x with tag vs-insiders-v0.1.0 and vs-v0.2.0 -> preview 0.1.1 | release 0.2.1

Copy link

github-actions bot commented Nov 18, 2024

Test Results

15 tests  ±0   15 ✅ +7   3m 6s ⏱️ - 31m 18s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌  - 7 

Results for commit e757be5. ± Comparison against base commit cf68af2.

♻️ This comment has been updated with latest results.

@tomaszgolebiowski tomaszgolebiowski merged commit 2af0708 into main Nov 20, 2024
3 checks passed
@tomaszgolebiowski tomaszgolebiowski deleted the tg/worflow-for-release branch November 20, 2024 13:13
tomaszgolebiowski added a commit that referenced this pull request Dec 11, 2024
CLOSE
https://linear.app/sourcegraph/issue/CODY-4323/build-definitions-and-versioning

- The preview and release versions are now created using the same
workflow.
- Workflow is manually triggered with a parameter indicating whether it
is a preview or a release version.
- Process of starting the release by adding tags has been abandoned. 
- From now on, a release candidate will be created by creating a branch
with the name convention: `vs-v0.2.x`
- Based on the branch name and existing tags, the next version number
will be automatically generated
- Minor version number will determine whether it is a preview version
(odd number) or a release version (even number).
- Version tags will be added automatically.

Examples of versioning
branch `vs-v0.2.x` -> preview `0.1.0`  |  release `0.2.0`
branch `vs-v0.2.x` with tag `vs-insiders-v0.1.0` -> preview `0.1.1` |
release `0.2.0`
branch `vs-v0.2.x` with tag `vs-insiders-v0.1.0` and `vs-v0.2.0` ->
preview `0.1.1` | release `0.2.1`

---------

Co-authored-by: Tomasz Gołębiowski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants