Skip to content
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

Update CLI deploy tag #16

Open
rpbaltazar opened this issue Aug 29, 2019 · 1 comment
Open

Update CLI deploy tag #16

rpbaltazar opened this issue Aug 29, 2019 · 1 comment
Assignees

Comments

@rpbaltazar
Copy link
Contributor

https://circleci.com/gh/PerxTech/whistler-services/409

if the branch name contains HEAD then means that this has been initiated by a tag.
Get the closest tag git describe --tags --abbrev=0, cut the enable-api- part and use that as the domain for the deploy

@rpbaltazar
Copy link
Contributor Author

Something along the lines git describe --tags --abbrev=0 | sed -e "s/^enable-api-//" should do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants