N
N
nektobit2017-08-31 07:30:30
GitHub
nektobit, 2017-08-31 07:30:30

Git. How to remove version tag from directory name on release?

When I create a version tag in git and push it to master, a release is automatically created. You can download it on the release page. As a result, we will get the project-{version}.zip archive, which will contain the project-{version} folder. The question is, is it possible (perhaps with the help of .gitatributes) to make it so that the version number is not added to the folder name, but only to the archive name?
That is: project-{version}.zip -> project

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question