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

Improve release workflow #59

Merged
merged 2 commits into from
Mar 28, 2024
Merged

Improve release workflow #59

merged 2 commits into from
Mar 28, 2024

Conversation

bauglir
Copy link
Owner

@bauglir bauglir commented Mar 28, 2024

Some minor improvements to the release workflow. Previously it was possible to trigger JuliaRegistrator for workflow runs that did not end up resulting in a release (which wasn't a problem due to the workflow followed by this project) and the branch passed to JuliaRegistrator was not as strict as it could be which could cause potential issues in rare cases.

bauglir added 2 commits March 28, 2024 13:43
If the release process successfully ran but did not result in a new
release getting published, JuliaRegistrator should not be notified. This
was a situation that was unlikely to happen in this repository due to
its feature branch/development/main workflow, but it would have
triggered incorrectly otherwise.
…egistrator

In most scenarios the `main` branch is equivalent to the generated tag.
However, when signing commits the tag will be a unique object that can
be referenced instead. The tag will also be more stable/less likely to
change during the time the registration process runs, which in general
is likely not an issue but it does not hurt to guard against.
@bauglir bauglir self-assigned this Mar 28, 2024
@bauglir bauglir enabled auto-merge March 28, 2024 12:52
Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (b3b2c23) to head (7a79817).

Additional details and impacted files
@@              Coverage Diff              @@
##           development       #59   +/-   ##
=============================================
  Coverage       100.00%   100.00%           
=============================================
  Files                5         5           
  Lines              147       147           
=============================================
  Hits               147       147           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bauglir bauglir merged commit bb4a051 into development Mar 28, 2024
12 checks passed
@bauglir bauglir deleted the improve-release-workflow branch March 28, 2024 13:05
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.

1 participant