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

Implements the release workflow #263

Merged
merged 1 commit into from
Aug 9, 2022
Merged

Conversation

CarlosNihelton
Copy link
Collaborator

@CarlosNihelton CarlosNihelton commented Aug 5, 2022

This workflow creates and updates a git tag named "latest". When a new tag with the name matching "Ubuntu*" is pushed to the repository, the "latest" tag is updated to the same commit as the newly pushed tag and a new GitHub Release is created as draft, pointing to the "latest" tag.

The commits added between the previous "latest" and the current one are listed in an automatically generated changelog.

Besides the source code, the latest PDB archives generated by the previous runs of the "build-wsl" workflow are uploaded as release assets.

One human being must then edit the draft release to:

  • Change the release tag from "latest" to the originally pushed "Ubuntu*" tag
  • Clean up the changelog, if required,
  • Upload more assets, maybe?
  • Human things,
  • And then publish the release.

It's important to make sure that the tag points to the exact same commit that generated the last app submited to the store.

The "Ubuntu*" naming convention was chosen to preserve compatibility with the current practice of naming the releases per the latest app version published. For instance, the last release is named Ubuntu22.04LTS/2204.0.10 because it the latest Ubuntu 22.04 LTS app was released at that commit and the store app version is 2204.0.10 (22.04, minor version number 0 build 10).

That way, whenever we need to refer to a specific version of an app for crash analysis we can always refer to its release in GitHub to fetch the appropriate PDB files.

@CarlosNihelton CarlosNihelton marked this pull request as ready for review August 5, 2022 20:37
@toktamis toktamis merged commit 46473ce into main Aug 9, 2022
@toktamis toktamis deleted the release-workflow-deeng-350 branch August 9, 2022 10:11
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.

None yet

2 participants