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

chore: revisit release process #177

Merged
merged 6 commits into from
Apr 16, 2024
Merged

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Apr 16, 2024

Dropping poetry, using setuptools_scm with new monorepo tags and using those to do proper github releases.

Also provides useful dev and test extras in fal that allow you to install everything you need for development/testing.

New release process goes as follows: either trigger a github release creation in the workflow dispatch (see create-release.yaml) or manually create a github release (not recommended, since this is a monorepo and git tags need a particular format, e.g. isolate_proto_v1.2.3). Then a github release is created with a tag that triggers a pypi release (see release.yaml).

We did lose a single-workflow to release fal and bump isolate_proto in its dependencies though, so one needs to release isolate_proto, then bump in fal and then release fal.

As a result of this, we will get releases in https://github.com/fal-ai/fal/releases with changelogs and proper tags. Also this won't create any PRs anymore like we used to #174 , since there is no need anymore, which is nice.

Note that testing release without doing a release is a bit challenging, so I will be around to do the next one just to catch/fix any potential problems.

Fixes #150

Copy link

linear bot commented Apr 16, 2024

@efiop efiop force-pushed the ruslan/fea-2222-revisit-release-process branch 2 times, most recently from a984b83 to dcfb5ef Compare April 16, 2024 01:25
@efiop efiop marked this pull request as ready for review April 16, 2024 01:52
@efiop efiop requested a review from chamini2 April 16, 2024 13:15
@efiop efiop force-pushed the ruslan/fea-2222-revisit-release-process branch from dcfb5ef to dae789e Compare April 16, 2024 15:02
@efiop
Copy link
Contributor Author

efiop commented Apr 16, 2024

Merging to release cloudpickle/pydantic and debug the process.

@efiop efiop merged commit 9237e96 into main Apr 16, 2024
5 checks passed
@efiop efiop deleted the ruslan/fea-2222-revisit-release-process branch April 16, 2024 18:57
@efiop efiop mentioned this pull request Apr 20, 2024
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.

revisit release process
1 participant