I'm using Artifactory REST API to upload tarballs to Artifactory NPM repository:
curl -X PUT \
-H "Authorization: Bearer <token>" \
-T path-to-tarball.tgz \
"http://<server>/artifactory/<repo>/<scope>/<package>/<package>-<version>.tgz"
It works, but it looks like the recently uploaded artifact is always marked as latest
when you query this repository. Usually it's fine, but not always.
I tried to use URL Properties by appending ;tag=other
to the target URL, but with no luck.
Anybody managed to tag NPM versions uploaded to Artifactory via REST API?