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

Release Automation #432

Merged
merged 5 commits into from
Dec 16, 2024
Merged

Release Automation #432

merged 5 commits into from
Dec 16, 2024

Conversation

pklaschka
Copy link
Member

@pklaschka pklaschka commented Dec 15, 2024

This pull request introduces new workflows for handling releases and pre-releases, along with versioning updates in configuration files. The most important changes include the creation of .github/workflows/prerelease.yml and .github/workflows/release.yml files and updates to version placeholders in deno.json, Dockerfile, and package.json.

Workflow Additions:

  • .github/workflows/prerelease.yml: Added a new workflow to handle pre-releases triggered by tags matching the pattern v[0-9]+.[0-9]+.[0-9]+-**. This workflow includes jobs for testing and publishing backend-deno, backend-go, and frontend-react packages.
  • .github/workflows/release.yml: Added a new workflow to handle releases triggered by tags matching the pattern v[0-9]+.[0-9]+.[0-9]+. This workflow also includes jobs for testing and publishing backend-deno, backend-go, and frontend-react packages.

Versioning Updates:

@pklaschka pklaschka added the 🏃 github_actions GitHub Action changes that hit almost all workflows in the ecosystem label Dec 15, 2024
@pklaschka pklaschka self-assigned this Dec 15, 2024
@pklaschka pklaschka requested a review from Copilot December 15, 2024 19:13

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 4 changed files in this pull request and generated no comments.

Files not reviewed (3)
  • backend-deno/deno.json: Language not supported
  • backend-deno/samples/Dockerfile: Language not supported
  • frontend-react/package.json: Language not supported
Comments suppressed due to low confidence (2)

.github/workflows/release.yml:65

  • Ensure that the jq command works correctly with the deno.json file. If the file contains comments or is not formatted as expected, the command might fail.
jq --arg version "$version" '.version = $version' deno.json > tmp.$$.json

.github/workflows/release.yml:154

  • Ensure that the jq command works correctly with the package.json file. If the file contains comments or is not formatted as expected, the command might fail.
jq --arg version "$version" '.version = $version' package.json > tmp.$$.json
… package

We don't have a clean git state since we dynamically adjust the version in the `package.json`
@pklaschka pklaschka marked this pull request as ready for review December 15, 2024 21:54
@pklaschka pklaschka requested a review from fussel178 as a code owner December 15, 2024 21:54
Copy link
Member

@fussel178 fussel178 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎱

Let's hope the release workflow works on the first try. 😅

@pklaschka pklaschka merged commit cb54f87 into feat/backend-go-rewrite Dec 16, 2024
13 checks passed
@pklaschka pklaschka deleted the gh-actions-release branch December 16, 2024 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏃 github_actions GitHub Action changes that hit almost all workflows in the ecosystem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants