Skip to content

Instantly share code, notes, and snippets.

View dleidert's full-sized avatar
🏠
Working from home

Daniel Leidert dleidert

🏠
Working from home
View GitHub Profile
@dleidert
dleidert / travis_yml.md
Last active May 25, 2021 06:21
Build a NSIS-based installer on Windows using travis-ci.org

I've recently found a way to test build a NSIS-based installer project on a Windows host on https://travis-ci.org. I had to figure out quite a bit how to run the makensis command there and how to set the PATH environment variable. But now that it works, let me share my configuration file .travis.yml with you:

language: shell
sudo: false

notifications:
  email:
    on_success: never
@dleidert
dleidert / Get the download link for an asset of the latest release using site.github namespace in a Jekyll site hosted on GitHub page.md
Last active June 21, 2021 23:37
Determine latest release asset download URL from site.github in GitHub user pages
@dleidert
dleidert / gitattributes.md
Created February 26, 2019 18:50
Exclude source files (e.g. GitHub pages) from the automatic github Zipball / Tarball creation

I usually host a projects GitHub pages (docs/) and build service configration files (e.g. .travis.yml or .appveyor.yml) together with the projects source in the master branch. When creating a release, github creates a zip and a tar archive (the so called zipball and tarball), which can also be created these links:

https://api.github.com/repos/:user/:project/tarball
https://api.github.com/repos/:user/:project/zipball

or for a specific release: