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

Update release process #315

Merged
merged 5 commits into from
Nov 13, 2023
Merged

Update release process #315

merged 5 commits into from
Nov 13, 2023

Conversation

m0nac0
Copy link
Collaborator

@m0nac0 m0nac0 commented Oct 10, 2023

I think we should make a new release, both because it has been quite some time since the last release and we have collected a lot of changes and new features since then. Also this allows us to fix #309 by fixing the packages released on pub.dev

So I thought a lot about the release process and came up with this proposal.
It may seem a little complicated at first, but I think it's actually not much work.
The most labor-intensive step is usually the changelog. So we might want to pay attention to updating that one with every relevant PR in the future.

I would keep the git releases for the time being, because a) we haven't officially announced/started releasing on pub.dev, so most users will use the plugin from git and b) because the pub.dev releases aren't fully functional, yet.

If we get the pub.dev releases right, we could make those the official recommended way of using the plugin and in the future discuss removing the "intermediary" git-release step.

For the last step: I would like to set up automated publishing to pub.dev (see https://dart.dev/tools/pub/automated-publishing#publishing-packages-using-github-actions). I think it both reduces the amount of work and increases the transparency and supply chain security for plugin users, compared to uploading the plugin from someones personal workstation, because it is clearer that the uploaded version is actually the unmodified one from GitHub (as long as one trusts the GitHub actions runners).

I also removed the previously contained step of commenting out dependency_overrides (which are very useful for us contributors), because according to the dart docs they are always ignored for packages from pub.dev (and generally for any package your application depends on). So it would be unnecessary work to remove them. (https://dart.dev/tools/pub/dependencies#dependency-overrides)

m0nac0 added 3 commits October 9, 2023 21:34
Adapt RELEASE.md for new release process, also taking into account pub.dev releases
@m0nac0
Copy link
Collaborator Author

m0nac0 commented Oct 10, 2023

@m0nac0
Copy link
Collaborator Author

m0nac0 commented Oct 10, 2023

btw: I also have a branch with release notes for the next release that may just need some slight updates for my recent housekeeping PRs

@m0nac0 m0nac0 mentioned this pull request Oct 20, 2023
@m0nac0 m0nac0 enabled auto-merge (squash) November 13, 2023 10:02
@m0nac0 m0nac0 disabled auto-merge November 13, 2023 10:04
@m0nac0 m0nac0 merged commit 769c484 into maplibre:main Nov 13, 2023
6 checks passed
@m0nac0 m0nac0 deleted the update-release-process branch November 13, 2023 10: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.

[High Priority] Web mode broken in pub.dev published version
2 participants