-
-
Notifications
You must be signed in to change notification settings - Fork 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
New command: release #98
Comments
Any update on this? |
|
@wontruefree I'd take that as a starting point. I think it does a "git push --tags" as well - to ensure that the tag actually makes it to the remote. |
I don't think this makes any sense as a shards subcommand. It is much easier to use a customized Makefile or CI script for a release process. |
Having a Something like |
Almost since I have started using Crystal , I have constantly run into shards that are improperly configured:
It is not fun when it goes unnoticed, and you need to open a back & forth with the maintainer to resolve it. I end up needing to switch to a fork temporarily (or commit pinning), then switch back once its fixed. Shards should really help people get this right. I think it is fine if shards does not want to "release" code, but the very least, I would suggest a
This would help encourage people to edit There could be shortcuts:
that would take the current
Then users can take care of pushing, or whatever their distribution channel is, without needing shards / shards imposing any pipeline. |
The other day I read this introduction blog post for A basic building block for that is |
When developing a library, it is convenient to have a method of releasing a version with well-known semantics, such as version tagging and github push.
In Ruby's Bundler, it is common to use
rake release
which performs a few actions, including a push to the remote rubygems.org site.While Crystal Shards don't yet have a "release" location, a command like
shards release
from a working directory of a shard could validate that the current state is safe, tag the version, and push to github.The text was updated successfully, but these errors were encountered: