Skip to content

Multi step process to allow scanning and testing artifacts before publishing #4879

Answered by caarlos0
MadsRC asked this question in Q&A
Discussion options

You must be logged in to vote

hey!

I have in my plans to add some sort of pre-publish hook, in which you could run anything with the binaries/packages/etc.

I haven't started working on it yet, or have a complete idea of how it should look like, but probably something like:

pre_publish_checks:
  - ids: [foo]
    artifacts: [ 'binary', 'archive' ]
    run: './integration-test.sh {{.Path}}'
    fail_on_error: true

would love to hear your opinions and ideas on it!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MadsRC
Comment options

@caarlos0
Comment options

Answer selected by MadsRC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants