If you make a promise (and haven't been released from it), then you're obliged to keep your promise. The obligation is, in a sense, conditional. Note that you've no moral reason to go around making extra promises just so that you can keep them. Keeping promises isn't a good to be promoted in this way. (We might instead think that keeping a promise is neutral, while breaking one is bad.)