💾 Archived View for ayushnix.com › microgemlog › 2021-11-29-using-git-archive.gmi captured on 2024-05-10 at 11:03:09. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-03-21)

-=-=-=-=-=-=-

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