-
Notifications
You must be signed in to change notification settings - Fork 0
Release
This page will describe how to create and publish a new Litr release. The current release process is half manual, half automated, therefore perfectly balanced.
Inside the repository run the following command (you already need Litr installed) and follow the instructions:
litr releaseThis will create a new release under build/publish containing all needed files.
The current release is a macOS release for Homebrew. The formula can be found here: https://github.com/krieselreihe/homebrew-litr
The files under build/publish are the files that need to be attached to the GitHub release (all of them). Take the url to the archive as well as the generated sha256 hash. For example:
https://github.com/krieselreihe/litr/releases/download/v1.0.0-alpha.1/litr-mac-1.0.0-alpha.1.tar.gz
https://github.com/krieselreihe/litr/releases/download/v1.0.0-alpha.1/litr-mac-1.0.0-alpha.1-sha256.txt
Update the formula in https://github.com/krieselreihe/homebrew-litr/blob/main/Formula/litr.rb to the latest release:
class Litr < Formula
desc "Litr (Language Independent Task Runner) lets you configure and then run any tasks you want for any language."
homepage "https://github.com/krieselreihe/litr"
url "..." # Url to the tar.gz file
sha256 "..." # Here comes the hash
version "..." # Full version number
def install
bin.install "litr"
end
endPush the new changes to the homebrew-litr repo and create the GitHub release.
Done.