💾 Archived View for zigford.org › making-a-release-on-github.gmi captured on 2024-02-05 at 09:37:54. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-03-20)
-=-=-=-=-=-=-
Sharing linux/windows scripts and tips
August 20, 2019 — Jesse Harris
Today's journey is using git and github to release PwshBlog The following are my notes on the matter.
~~~
Normally when you make a release, you want to make an archive of the release available for people to download. You could use git's built-in tags feature alone, but that will include other bits of your repository that you probably don't want to include.
Enter git archive
The following are steps to creating the archive
```
.gitignore export-ignore
appveyor.yml export-ignore
```
```
git tag -a v0.9.0
```
```
git archive --format=zip --prefix=PwshBlog/ v0.9.0 -o v0.9.0.zip
```
Tags:
Generated with bashblog, a single bash script to easily create blogs like this one