Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

archive file name with version

I have a web application buid with node/npm.

It generates a zip file, and I want its name with a version string refer to the version field in `package.json`.

 

How can I config the name ? (maybe set an environment in my build script, and read in the workflow file ?)

 

This is my workflow of nodejs: https://github.com/g8up/youDaoDict/commit/17e62de530c40b7c4cc49f65aac424bc7e78a31d

1 Reply
GitHub Staff
Message 2 of 2

Re: archive file name with version

Sorry, can you point me to the place where the zip file is being created?  I don't see anything in your workflow or your JavaScript that's creating a zip.