0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-04-08 02:54:13 -05:00

chore: patch changesets example (#1929)

* chore: test changesets

* chore: add changeset
This commit is contained in:
Juan Picado 2020-09-01 21:50:28 +02:00 committed by GitHub
parent 88604e217d
commit 42dfed785f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
"@verdaccio/api": patch
---
testing changesets

View file

@ -28,7 +28,7 @@ export default function (route: Router, auth: IAuth, storage: IStorageHandler):
});
};
// tagging a package
// tagging a package.
route.put('/:package/:tag', can('publish'), media(mime.getType('json')), tag_package_version);
route.post('/-/package/:package/dist-tags/:tag', can('publish'), media(mime.getType('json')), tag_package_version);