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

push git tag after `orb-tools/increment` #7

sue445 opened this Issue Nov 8, 2018 · 2 comments


None yet
2 participants

sue445 commented Nov 8, 2018


I want to push the same tag as the orb'version


#!/bin/bash -eo pipefail
circleci orb publish increment packed/orb.yml sue445/my-orb patch --token $CIRCLECI_API_TOKEN 
Orb `sue445/bundle-install` has been incremented to `sue445/my-orb@1.2.3`.
Please note that this is an open orb and is world-readable.

#### I want to run this!
# git tag -a 1.2.3 -m "Release 1.2.3"
# git push origin --tags

But there is no way to acquire the automatically incremented version 😢

Do you have a good idea or feature?

My workaround

Running orb-tools/publish when only pushed tag.

Although this works, but dirty way...


This comment has been minimized.


ndintenfass commented Nov 8, 2018

You could run circleci orb info to get the latest in an additional step in your flow -- you might need to parse the payload manually, though it's probably a good idea we add some kind of flag to get just the version by itself.


This comment has been minimized.

sue445 commented Nov 8, 2018

@ndintenfass Thank you! I'll try this.

@sue445 sue445 closed this Nov 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment