-
Notifications
You must be signed in to change notification settings - Fork 3
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
Easy publish on CI env #23
Comments
Hi @jaumard, I'm sorry. I just saw this now. I have to figure out my notification prefs. Can you describe the command in full? What it's for, how it works, what are its options, etc? |
No problem :) So I have some repo where I want to have automatic deployment in when I'm pushing a new tag for exemple, currently it's not really easy as we have to manually push our login/token into Here is what I have in my
So until pub give us an easy way to publish on ci we can have this command that create the So my idea is to have a command like:
That command has two step to do:
Is it more clear @shyndman ? |
Yes. Thank you. I think this is a perfect addition. Are you looking to contribute this functionality? |
One thought about In its absence, fail the command with a non-zero exit if there are errors, so CI can be aware of any problems. |
is there progress here? I would like to automate |
It looks like pub has not yet finalized their API spec for publishing stuff (see dart-lang/pub#1381). |
Hello :)
I've open this issue on pub dart-lang/pub#2227
But look like it will take time to be implemented properly, I think it can be done in this plugin until an official solution is available.
A
pubx publish --token
that will set the token into/.pub-cache/credentials.json
and then forward the publish to pub.What do you think ?
The text was updated successfully, but these errors were encountered: