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

Rework the releasing #569

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Rework the releasing #569

merged 1 commit into from
Nov 14, 2024

Conversation

lyrixx
Copy link
Member

@lyrixx lyrixx commented Nov 14, 2024

Our current process has some issues. For example, we publish the release, and then
we build all artifacts in GHA. But this build took some time, and during the build
we broke all CI. Indeed, CI wants to download castor, it tooks the last release, but
artifacts are not yet there.

And for the v0.20.0, we had another issue: the release.created event was NOT fired :/

And we had other issues in the past, for example when a build fails, none files were uploaded.

E_TOO_MANY_PIT_FALL...

So we rewrote everything. Now the releasing is managed locally. We still use GHA to build all our artefacts.
But now we are able to publish a release with all artifacts at once 🎉

And we added tons of checks to ensure everything is okay.


Side notes:

  • This patch add support for ProblemeException => it display an error message, but simpler than a regular exception
  • We better display origin file/line when an exception occurs

fixes #520

Copy link
Member

@pyrech pyrech left a comment

Choose a reason for hiding this comment

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

Some small typos but looks good ! Can't wait to use it 🎉

@@ -1,4 +1,4 @@
In ProcessRunner.php line XXXX:
In functions.php line XXXX:
Copy link
Member

Choose a reason for hiding this comment

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

💛

tools/release/castor.php Outdated Show resolved Hide resolved
tools/release/castor.php Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
Copy link
Member

@pyrech pyrech left a comment

Choose a reason for hiding this comment

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

We used to develop Castor with Castor. We now release Castor with Castor. Thanks 🎉

@pyrech pyrech merged commit 265bdd7 into main Nov 14, 2024
10 checks passed
@pyrech pyrech deleted the release branch November 14, 2024 13:48
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.

Hardening build pipine
2 participants