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

SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현