Skip to content

A set of scripts for building release-ready binaries of DevToys

License

Notifications You must be signed in to change notification settings

DevToys-app/Publish

Repository files navigation

Prepare the release

  1. Update the changelogs and commit them. DevToys/src/app/dev/DevToys.Blazor/Assets/changelog.md
  2. Build and commit CSS/JS in DevToys.Blazor.
  3. Prepare a blog article (optional).

How to create artifacts

publish

Set of pipeline and logic to apply when publishing

Linux

  1. Build DevToys and DevToys CLI by running bash ./build.sh --MajorVersion 2 --MinorVersion 0 --BuildOrPreviewNumber 0 --IsPreviewVersion true.

Install, run and uninstall DevToys

# install
sudo apt install ./artifact/{cpu}/devtoys_{version}.deb
# or
sudo dpkg -i ./artifact/{cpu}/devtoys_{version}.deb
# verify it's install:
ls -l /opt/devtoys/devtoys
ls -l /usr/bin/{devtoys,DevToys}*

# run
devtoys

# uninstall
sudo apt remove devtoys
# if you want to remove dependencies
sudo apt autoremove 

Install, run and uninstall DevToys CLI

# install
sudo apt install ./artifact/{cpu}/devtoys.cli_{version}.deb
# or
sudo dpkg -i ./artifact/{cpu}/devtoys.cli_{version}.deb
# check installed folders and binaries
ls -l /opt/devtoys/devtoys.cli
ls -l /usr/bin/{devtoys.cli,DevToys.cli}*

# run
devtoys.cli --help

# uninstall
sudo apt remove devtoys.cli

Windows

  1. Build DevToys and DevToys CLI by running ./build.ps1 --MajorVersion 2 --MinorVersion 0 --BuildOrPreviewNumber 0 --IsPreviewVersion true in a PowerShell command prompt.

macOS

  1. Build DevToys and DevToys CLI by running sh ./build.cmd --MajorVersion 2 --MinorVersion 0 --BuildOrPreviewNumber 0 --IsPreviewVersion true --AppleId appleid --AppleAppPassword the-password --AppleTeamId the-id.

Installing

A good way to validate that the app got notarize:

  1. Create a draft release on GitHub
  2. Upload the ZIP archive of the Mac app to it.
  3. Download the ZIP from the GitHub release
  4. Unzip and run the App: Mac should allow us to run it.

How to publish

Homebrew (macOS)

  1. Update this file: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/d/devtoys.rb

Chocolatey

// TODO

WinGet

  1. Update these files: https://github.com/microsoft/winget-pkgs/pull/156567/files

MS Store

  1. Publish the MSIX to Microsoft Partner Center

Flatpak

// TODO

NuGet

// TODO

About

A set of scripts for building release-ready binaries of DevToys

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published