CircleCI Ideas

Webhook build on last tag

Hello,

 

It is now possible to trigger a workflow build with this : https://circleci.com/docs/api/v1-reference/#new-project-build

It's really cool and it's a feature I will use a lot :)

Unfortunately, something important for me is missing : trigger a build on the latest tag, I have to know exactly the name of the last tag.

 

Is it possible to send something like that :

{
  "latestTag": true
}

https://circleci.com/api/v1.1/project/:vcs-type/:username/:project/build?circle-token=:token

 

 

To explain the use case : my master branch is my statging environment and the latest tag is my production environment.

 

Best regards,

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Sep 22 2018
  • New
API
  • Attach files