Use git archive To Create Releases

I've been creating releases of one of my projects on GitHub like an idiot by manually copy-pasting the folder and creating a tar.gz file. I was considering automating the entire thing using a script but then I found git archive.

git archive --format=tar.gz -o tessen-1.2.3.tar.gz --prefix=tessen-1.2.3/ HEAD

Now I just have to automate creation of a SHA256 checksum file and sign it using GPG and signify.


Created: 2021-11-29

=> MicroGemlog | Home

Proxy Information
Original URL
gemini://ayushnix.com/microgemlog/2021-11-29-using-git-archive.gmi
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
588.242205 milliseconds
Gemini-to-HTML Time
0.605441 milliseconds

This content has been proxied by September (3851b).