question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Where do i specifiy "githubArtifactName" within package.json?

See original GitHub issue
  • Version: 15.6.2
  • Target: win32

None of the locations i tried (within package.json) lets me add a custom githubArtifactName (or any properties from latest.yml, like path), my config never passes validation.

Where can i add these custom versionInfoproperties?

my package.json

...
},
 "build": {
   "win": {
     "icon": "./icons/win32/icon.ico",
     "target": [
       "nsis"
     ]
   },
   "nsis": {
     "artifactName": "${name}-setup-${version}.${ext}",
     "deleteAppDataOnUninstall": true,
     "oneClick": false,
     "runAfterFinish": false
   }
 }
...

Thanks, @develar !

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
develarcommented, Mar 22, 2017

In the 16.2.0 case fixed.

0reactions
develarcommented, Apr 3, 2017

@krystophv … because file name contains build version, but not build number.

Well, maybe it is better to use different product name? Ook. It seems issue should be reopened.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Job artifacts - GitLab Docs
Create job artifacts · Use CI/CD variables to define the artifacts name · Exclude files from job artifacts · Add untracked files to...
Read more >
Jobs artifacts administration - GitLab Docs
The artifacts are stored by default in /home/git/gitlab/shared/artifacts . To change the storage path for example to /mnt/storage/artifacts , edit /home/git/ ...
Read more >
Maven packages in the Package Registry - GitLab Docs
Publish Maven artifacts in your project's Package Registry. Then, install the packages whenever you need to use them as a dependency.
Read more >
Artifacts Filename Cannot Be Set with Dynamic Variables
The script above results in an artifacts file like that: MyName_.zip but desired is MyName_SomeVal.zip. Why is this desired?
Read more >
npm packages in the Package Registry - GitLab Docs
Create or edit the .npmrc file in the same directory as your package.json in a GitLab project. Include the following lines in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found