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

Automate GH Release Publication #256

Merged
merged 3 commits into from
Mar 8, 2024
Merged

Automate GH Release Publication #256

merged 3 commits into from
Mar 8, 2024

Conversation

leordev
Copy link
Contributor

@leordev leordev commented Mar 4, 2024

Copy link

codecov bot commented Mar 4, 2024

Codecov Report

Merging #256 (039a50b) into main (87760e4) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #256   +/-   ##
=======================================
  Coverage   75.78%   75.78%           
=======================================
  Files          43       43           
  Lines        1900     1900           
  Branches      342      342           
=======================================
  Hits         1440     1440           
  Misses        313      313           
  Partials      147      147           
Components Coverage Δ
credentials 81.00% <ø> (ø)
crypto 44.11% <ø> (ø)
dids 86.54% <ø> (ø)
common 66.29% <ø> (ø)

@leordev leordev force-pushed the leordev/autoreleases branch from c1eb088 to b41f551 Compare March 6, 2024 16:26
@leordev
Copy link
Contributor Author

leordev commented Mar 7, 2024

Can I have your eyes on the new release instructions that I added, please? @KendallWeihe @jiyoontbd @ALRubinger


3. Run workflow!

**DON'T FORGET THE `-SNAPSHOT` SUFFIX**, otherwise it will generate publish a new official release to maven registry.
Copy link
Contributor

Choose a reason for hiding this comment

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

Hmmm I wonder if maybe we should implement something to prevent accidents here. Like, maybe we have a dedicated workflow for pre-release, even though everything would be the same as a production release, at least the developer would be more intentional from the page load? Idk I still don't love that idea... what could we do? 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe somehow SNAPSHOT would be the default and it would require developer intervention to override it?

Copy link
Contributor

Choose a reason for hiding this comment

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

@KendallWeihe - This is a great point; @leordev @finn-tbd and I are going to handle this as part of #217 . There will then be 2 workflows: one for SNAPSHOTs and one for releases. Each workflow will perform precondition checks on the user input for version to make sure the -SNAPSHOT suffix is either present or not depending upon the workflow.

@ALRubinger ALRubinger merged commit f3e8a88 into main Mar 8, 2024
6 of 7 checks passed
@ALRubinger ALRubinger deleted the leordev/autoreleases branch March 8, 2024 21:30
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.

4 participants