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

Trigger tap release on CI deployment #67

Open
theofidry opened this issue Nov 15, 2018 · 8 comments
Open

Trigger tap release on CI deployment #67

theofidry opened this issue Nov 15, 2018 · 8 comments

Comments

@theofidry
Copy link

Hello,

I would like to make use of Tap Release for Box. The issue I have is that the artefact I would like to publish is not attached to the release at the moment of tagging: it is uploaded via the Travis CI. So the workflow is:

  • Tag a release
  • The previous point triggers a Travis build for the release
  • One of the build upload the built artefact to the release

Is there any way to achieve that?

@toolmantim
Copy link
Owner

Tagging shouldn't automatically create a full-blown release, we only listen to the release event: https://github.com/toolmantim/tap-release/blob/master/index.js#L6

I wonder what's happening here? 🤔

@theofidry
Copy link
Author

Hm I think that this events is triggered as soon as the release is created. Only after that the build is triggered and upon success the artefact is published.

Maybe what is needed would be a way to trigger tap to say "hey, please check that release again"

@toolmantim
Copy link
Owner

Do you know if there's a GitHub event for that? https://developer.github.com/webhooks/ Because from what I can tell, there isn't! 🤔

Is there a way to rejig your flow?

@theofidry
Copy link
Author

Maybe the deployment or deployment status event? In the end it's what is used to upload the additional artefacts to the release.

@toolmantim
Copy link
Owner

Are you creating a deployment / deployment status? Mind linking me to the scripts where this workflow is run, so I can get my head around it.

@theofidry
Copy link
Author

@brunolemos
Copy link

brunolemos commented Feb 23, 2019

I have the same travis workflow. Any solution?

Maybe if we make travis mark as draft or pre_release?
Not sure if a new webhook would be sent after changing it to release, but probably yes.

@theofidry
Copy link
Author

@toolmantim would there actually be a way to use this as a GitHub action step? This would allow one to configure the exact conditions upon which the step needs to be executed solving this timing issue.

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

3 participants