cignium / hypermedia-client

Hypermedia renderer for Cignium's hypermedia api.
MIT License
5 stars 5 forks source link

Remove broken version/re-publish previous version #112

Closed nranas closed 7 years ago

nranas commented 7 years ago

We need a way to revert to a previous version in the case where we create a broken version.

nranas commented 7 years ago

I think the simplest way to revert to a previous version for our users is to move the latest tag to the version we want to revert to. The version with the latest tag is the one that will be fetched for everyone including the client without specifying any particular version. When this client gets more mature and more users we might want to consider using some kind of beta or next tag for new releases to further improve stability (see blog-post linked below for more information).

nranas commented 7 years ago

We will need authorization in the npm account to be able to continue with this. @hfjallemark, please advise.

hfjallemark commented 7 years ago

Everyone who should have access to npm needs to create an account. Let me know your users names and I will add everyone as collaborators.

nranas commented 7 years ago

My username is nranas

//cc @robcar @magahl @Edgar-Cordova @sbochoa @Diego-T

magahl commented 7 years ago

My username is magahl

robcar commented 7 years ago

And mine is robinc

hfjallemark commented 7 years ago

Added.

nranas commented 7 years ago

I can confirm that this works now. To move the latest tag to a different version you would run the following command from the console: npm dist-tag add cignium-hypermedia-client@<version> latest where <version> is the version you want to set as the latest.