TFS2018: Use npm publish task to release a built npm packageBuild vNext missing tasksWrong --out in TFS 2015 dnu publishTFS Release Management Artifacts Variable not availableRelease Failure from TFS CIObtain the artifact directory path as a relative path for the Release processTFS Release Artifacts - How to Link Version Control Artifacts?NuGet Push Results in 401 Unauthorized Error within TFS Build and on TFS Server ItselfTFS2018 tries to publish my DatabaseHow to publish a prod build of our VSTS extensions package to my dev VSTS (not prod VSTS), so I can validate it before publishing to prod VSTS?TFS 2018 - Building pre-release packages

If a character has darkvision, can they see through an area of nonmagical darkness filled with lightly obscuring gas?

Did arcade monitors have same pixel aspect ratio as TV sets?

The screen of my macbook suddenly broken down how can I do to recover

Is it possible to put a rectangle as background in the author section?

Longest common substring in linear time

Are the IPv6 address space and IPv4 address space completely disjoint?

What does chmod -u do?

Is there any references on the tensor product of presentable (1-)categories?

How do I find all files that end with a dot

Not using 's' for he/she/it

On a tidally locked planet, would time be quantized?

Loading commands from file

Multiplicative persistence

What is this cable/device?

What is the evidence for the "tyranny of the majority problem" in a direct democracy context?

Why Shazam when there is already Superman?

Is it safe to use olive oil to clean the ear wax?

How to bake one texture for one mesh with multiple textures blender 2.8

Start making guitar arrangements

Lowest total scrabble score

Should I outline or discovery write my stories?

Why did the Mercure fail?

How should I respond when I lied about my education and the company finds out through background check?

Which one is correct as adjective “protruding” or “protruded”?



TFS2018: Use npm publish task to release a built npm package


Build vNext missing tasksWrong --out in TFS 2015 dnu publishTFS Release Management Artifacts Variable not availableRelease Failure from TFS CIObtain the artifact directory path as a relative path for the Release processTFS Release Artifacts - How to Link Version Control Artifacts?NuGet Push Results in 401 Unauthorized Error within TFS Build and on TFS Server ItselfTFS2018 tries to publish my DatabaseHow to publish a prod build of our VSTS extensions package to my dev VSTS (not prod VSTS), so I can validate it before publishing to prod VSTS?TFS 2018 - Building pre-release packages













0















I have a build that creates an npm package (tgz). I would like to add a release pipline to publish this package to our npm server.



The package is available from the artifacts and I can download it in the release pipline. But to publish it with the NPM Task I need its exact name, which has the version number in it.



npm publish mypackage-1.0.0.tgz


I cannot see any way to get this version number or the full filename of the artifact in the release pipline.



I could probably use a powershell script to do this, but then I am missing the NPM credentials that I configured in TFS.



Am I supposed to do this differntly? Am I missing something?










share|improve this question






















  • why not use the powershell to find the file and set the filename as a new variable for the current release-process, then you could use the npm-publish task with the configured credentials

    – D.J.
    2 days ago















0















I have a build that creates an npm package (tgz). I would like to add a release pipline to publish this package to our npm server.



The package is available from the artifacts and I can download it in the release pipline. But to publish it with the NPM Task I need its exact name, which has the version number in it.



npm publish mypackage-1.0.0.tgz


I cannot see any way to get this version number or the full filename of the artifact in the release pipline.



I could probably use a powershell script to do this, but then I am missing the NPM credentials that I configured in TFS.



Am I supposed to do this differntly? Am I missing something?










share|improve this question






















  • why not use the powershell to find the file and set the filename as a new variable for the current release-process, then you could use the npm-publish task with the configured credentials

    – D.J.
    2 days ago













0












0








0








I have a build that creates an npm package (tgz). I would like to add a release pipline to publish this package to our npm server.



The package is available from the artifacts and I can download it in the release pipline. But to publish it with the NPM Task I need its exact name, which has the version number in it.



npm publish mypackage-1.0.0.tgz


I cannot see any way to get this version number or the full filename of the artifact in the release pipline.



I could probably use a powershell script to do this, but then I am missing the NPM credentials that I configured in TFS.



Am I supposed to do this differntly? Am I missing something?










share|improve this question














I have a build that creates an npm package (tgz). I would like to add a release pipline to publish this package to our npm server.



The package is available from the artifacts and I can download it in the release pipline. But to publish it with the NPM Task I need its exact name, which has the version number in it.



npm publish mypackage-1.0.0.tgz


I cannot see any way to get this version number or the full filename of the artifact in the release pipline.



I could probably use a powershell script to do this, but then I am missing the NPM credentials that I configured in TFS.



Am I supposed to do this differntly? Am I missing something?







tfs tfs2018






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 2 days ago









mjrmjr

286




286












  • why not use the powershell to find the file and set the filename as a new variable for the current release-process, then you could use the npm-publish task with the configured credentials

    – D.J.
    2 days ago

















  • why not use the powershell to find the file and set the filename as a new variable for the current release-process, then you could use the npm-publish task with the configured credentials

    – D.J.
    2 days ago
















why not use the powershell to find the file and set the filename as a new variable for the current release-process, then you could use the npm-publish task with the configured credentials

– D.J.
2 days ago





why not use the powershell to find the file and set the filename as a new variable for the current release-process, then you could use the npm-publish task with the configured credentials

– D.J.
2 days ago












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281439%2ftfs2018-use-npm-publish-task-to-release-a-built-npm-package%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55281439%2ftfs2018-use-npm-publish-task-to-release-a-built-npm-package%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript