Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.02 KB

PUBLISHING.md

File metadata and controls

55 lines (33 loc) · 1.02 KB

How to publish releases of elm-format

Workstation setup

Mac

brew update
brew install keybase
brew install github-release
brew install caskroom/cask/brew-cask
brew cask install vagrant
brew cask install virtualbox

Preparation

  1. Create a github issue to draft the release notes.
  2. Edit elm-format.cabal to remove -dev from the version and make sure the version number is correct.
  3. Commit the change to elm-format.cabal.
  4. Create a signed tag for the new version. git tag -s <version> -m <version>
  5. Push the tag.

Mac

  1. Run ./package/mac/build-package.sh

Windows

  1. See package/win/setup.md

Linux

  1. See package/linux/setup.md

Publishing

  1. Run package/collect_files.sh
  2. Go to the release page for the new tag on github.
  3. Upload the zip, tgz and asc files.
  4. Write the release notes.
  5. Publish the release.
  6. Update README.md

Clean up

  1. Edit elm-format.cabal with the next minor version number and add -dev.
  2. Commit the change to elm-format.cabal.