-
Notifications
You must be signed in to change notification settings - Fork 5
Stop tracking dist/ and instead automatically commit and push it to a release branch
#101
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
base: main
Are you sure you want to change the base?
Conversation
With this commit, the strategy of tagging versions manually is replaced by a workflow that automatically tags the tip of the `main` branch as soon as it is pushed. That relieves us from doing these releases manually, but enforces an "always releasable" state (because `main` is released, always). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The idea is, from now on, that the `dist/` directory will be generated and published on the `v0` branch, not on the `main` branch. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This is no longer necessary because the `dist/` directory is no longer tracked in the `main` branch, but instead automatically generated and pushed to the `v0` branch. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
... and rename it to `ci`. The verification is no longer needed because the idea is to build and commit this directory _only_ in the workflow that publishes `main` to the `v0` release branch. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
... because it is no longer tracked. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
5a3e91a to
bfc5e58
Compare
|
@rimrul @mjcheetham I would like to switch to that "continuous release" model, not only for the |
A few of my thoughts off the cuff:
Other than that, I am typically pro "don't check in generated code". |
Very, once you run
Well, the Action does require the
We haven't, but that's because we had this workflow. Otherwise it would have been relatively easy to "slip in" stuff. On the other hand, it is utterly hard to review the |
There is too much manual process in this repository for my liking:
dist/Let's switch this up, by no longer tracking
dist/. It's now the responsibility of a new GitHub workflow to build that folder, commit and push it to thev0release branch whenever themainbranch changes.For good measure, incremental tags are generated and pushed, too.
Obviously, this means that the new tags will not be "released" by hand, nor will they be published to the Marketplace. But that's okay, I think.
This closes #100.