💾 Archived View for ayushnix.com › microgemlog › 2021-11-29-using-git-archive.gmi captured on 2023-09-08 at 16:09:59. Gemini links have been rewritten to link to archived content

View Raw

More Information

➡️ Next 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