w11k / angular-sticky-things

Sticky Directive for Angular 2+

Home Page:https://w11k.github.io/angular-sticky-things

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish nightly version @next

CanKattwinkel opened this issue · comments

In order to enable quick testing of new features, there should be a CI task that publishes on the @next channel. Since the version must be incremented, two ways come to my mind:

Option a)
Remove the most recent version and just re-publish

$ npm unpublish my-super-next-test@v1.0.4  --tag next

Option b)
Publish a version along with some sort of timestamp:

$ some logic that sets npm version to vx.x.x-dev-20190304-1549
$ npm publish --tag next

Option c)
Publish a prerelease version

$ npm version prerelease 
$ npm publish --tag next

Since Option C probably requires commit of the version, I'd go with Option B for now.

Instead of nightly, publish on any commit on develop branch