Skip to content

Latest commit

 

History

History
111 lines (100 loc) · 3.28 KB

File metadata and controls

111 lines (100 loc) · 3.28 KB

Manual Release Checklist (should be automated at some point)

  • Run tests

    • make proto && make ci
  • Clean build dir

    • cd build && mkdir v0.0.21 && mv * v0.0.21/
  • Version bump

    • Change version in lib/core/version.go
    • Make a release data in changelog.yml
    • git commit -am "Bump version to vX.Y.Z" && git push
    • git tag vX.Y.Z && git push --tags
  • Make a new Github Release

    • gh release create
  • Debian

  • make deb

  • cd build && gh release upload vX.Y.Z foks_*.deb

  • cd ../pkgs

  • cp ../go-foks/build/foks_*.deb public/pool/main/f/

  • git commit -a -m "Add foks_*.deb to public pool"

  • git push

  • cd src/pkgs

  • git pull

  • bash -x scripts/make-debian-repo.bash

  • git add public

  • git commit -a -m 'debian vX.Y.Z'

  • git push

  • startup debian VM

  • ssh max@192.168.56.5

  • wait about 3 minutes (cloudflare deploy)

  • sudo apt update

  • sudo apt upgrade foks

  • RHEL / Fedora / etc

    • make rpm
    • cd build && gh release upload vX.Y.Z foks-*.rpm
    • cd ../pkgs
    • git pull
    • mkdir rpm-in
    • cd rpm-in && cp ../go-foks/build/foks-*.rpm .
    • cd ..
    • git add rpm-in
    • git commit -a -m "Add foks-*.rpm to public pool"
    • git push
    • startup fedora VM
    • ssh -A max@192.168.56.7
    • cd src/pkgs
    • git pull
    • bash -x scripts/make-fedora-repo.bash
    • git add public/stable
    • git commit -a -m 'fedora vX.Y.Z'
    • git push
    • wait about 10 minutes
    • sudo dnf upgrade --refresh
  • static Linux

    • make musl
    • cd build && gh release upload vX.Y.Z foks-linux-musl
  • brew

    • make brew
    • cd build && gh release upload vX.Y.Z foks-darwin-x86_64.tar.gz
    • cd ../pkgs && git pull && cp ../go-foks/build/foks-*.zip public/stable/darwin/
    • cp ../go-foks/changelog.yml public/stable/changelog.yml
    • git add public/stable/darwin/foks-*.zip
    • git commit -a -m "Add foks-*.zip to public pool"
    • git push
    • cd ../../homebrew-cask/Casks/f
    • git fetch upstream main
    • git checkout main
    • git reset --hard upstream/main
    • vim foks.rb
    • update version and sha256s
    • commit -a -m 'foks vX.Y.Z'
    • cp foks.rb /opt/homebrew/Library/Taps/homebrew-releaser/homebrew-test/Casks/foks.rb
    • brew install --cask homebrew-releaser/homebrew-test/foks # to test
    • brew audit --cask homebrew-releaser/homebrew-test/foks # to test
    • git push origin main # in our fork of homebreak-casks
    • cd pkgs && git pull
    • go to github and open PR against homebrew/homebrew-cask
  • winget

    • make winget
    • cd build && gh release upload vX.Y.Z foks-win-*.zip
    • cd ../winget-pkgs
    • get fetch upstream master
    • git checkout master
    • git reset --hard upstream/master
    • cd ../go-foks/scripts
    • mark the GH release live via the web interface
    • ./winget-gen.bash ../../winget-pkgs
    • cd ../../winget-pkgs
    • git add manifests/n/ne43/foks
    • git commit -a -m "New version: Ne43.Foks version X.Y.Z"
    • git push --force origin master
    • open a pull request against: https://github.com/microsoft/winget-pkgs
    • boot up window box
    • cd winget-pkgs
    • git fetch origin master
    • git reset --hard origin/master
    • cd manifests/n
    • winget validate --manifest ne43/foks/0.1.3 # or thereabout
    • winget install --manifest ne43/foks/0.1.3 # or thereabout
  • Update server

    • make foks-server-release