build: use npm being released during release
build: use npm being released during release

There was some weirdness going on where, depending on your
local setup during release, you could get unexpected results
during build (specifically, the version on the tarball and zip
corresponded to your global npm's version)

I went ahead and also made it so the npm pack is also done
by the version getting released, to avoid any possible
issues with 2.x vs 3.x

PR-URL: https://github.com/npm/npm/pull/9012

chadnickbok/npm,yibn2008/npm,DIREKTSPEED-LTD/npm,TimeToogo/npm,cchamberlain/npm-msys2,DIREKTSPEED-LTD/npm,rsp/npm,yibn2008/npm,yodeyer/npm,kemitchell/npm,ekmartin/npm,DaveEmmerson/npm,lxe/npm,evanlucas/npm,princeofdarkness76/npm,cchamberlain/npm,misterbyrne/npm,midniteio/npm,Volune/npm,Volune/npm,DIREKTSPEED-LTD/npm,xalopp/npm,midniteio/npm,evanlucas/npm,TimeToogo/npm,ekmartin/npm,evocateur/npm,DaveEmmerson/npm,Volune/npm,kimshinelove/naver-npm,cchamberlain/npm-msys2,thomblake/npm,rsp/npm,evocateur/npm,misterbyrne/npm,misterbyrne/npm,kimshinelove/naver-npm,TimeToogo/npm,rsp/npm,segrey/npm,kemitchell/npm,princeofdarkness76/npm,DaveEmmerson/npm,yibn2008/npm,princeofdarkness76/npm,midniteio/npm,cchamberlain/npm,chadnickbok/npm,lxe/npm,lxe/npm,xalopp/npm,haggholm/npm,ekmartin/npm,xalopp/npm,chadnickbok/npm,yodeyer/npm,yodeyer/npm,kemitchell/npm,haggholm/npm,thomblake/npm,kimshinelove/naver-npm,evanlucas/npm,thomblake/npm,segrey/npm,segrey/npm,cchamberlain/npm-msys2,evocateur/npm,cchamberlain/npm,haggholm/npm