• Robert Knight's avatar
    Specify npm package version to publish to S3 · 381af3ac
    Robert Knight authored
    Sometimes the "Publish" step has ended up publishing version N-1 to the
    CDN when building the tag for version N. I believe this happens due to
    npm's package publishing API not guaranteeing immediate visiblity of the
    latest version when it returns. If the publish task runs before the
    update has propagated inside their network, then the publish step
    re-uploads the previous version to the CDN.
    
    This commit attempts to resolve the issue by specifying a package
    version explicitly. We might find that this is not enough and that the
    publish step either has to wait until the update has propagated or we
    have to use a locally-built tarball.
    
    Fixes #602
    381af3ac
Jenkinsfile 1.49 KB