How to publish releases of elm-format
brew update
brew install keybase
brew install github-release
brew install caskroom/cask/brew-cask
brew cask install vagrant
brew cask install virtualbox
Create a github issue to draft the release notes.
Edit elm-format.cabal
to remove -dev
from the version and make sure the version number is correct.
Edit CHANGELOG.md
to set the correct version number.
Update ElmFormat.Version.experimental
to Just <survey URL>
for experimental versions and Nothing
otherwise.
(cd package/npm && npm version "<new version>")
Commit the changes "Bump version to new version "
Create a signed tag for the new version. git tag -s <version> -m <version>
Push the tag.
Wait for CI to successfully build the tag.
Run ./package/mac/build-package.sh
Make sure you have Docker installed and running
Run ./package/linux/build-in-docker.sh
See package/win/setup.md
Run package/collect_files.sh
Go to the release page for the new tag on github.
Upload the zip, tgz and asc files.
Write the release notes.
Publish the release.
Update README.md
cd package/npm
# for experimental releases
# npm publish --tag exp
npm publish
Edit elm-format.cabal
with the next minor version number and add -dev
.
Commit the change to elm-format.cabal
.