allow publishing inside a pipeline
Merge pull request #116 from akalinovskiy/master

allow publishing inside a pipeline