https://github.com/devtoys-app/publish
A set of scripts for building release-ready binaries of DevToys
https://github.com/devtoys-app/publish
Last synced: 4 months ago
JSON representation
A set of scripts for building release-ready binaries of DevToys
- Host: GitHub
- URL: https://github.com/devtoys-app/publish
- Owner: DevToys-app
- License: gpl-3.0
- Created: 2024-08-13T03:27:25.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T17:31:31.000Z (7 months ago)
- Last Synced: 2025-01-10T02:25:06.371Z (5 months ago)
- Language: C#
- Size: 9.85 MB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Prepare the release
1. Update the changelogs and commit them. [DevToys/src/app/dev/DevToys.Blazor/Assets/changelog.md](https://github.com/DevToys-app/DevToys/blob/main/src/app/dev/DevToys.Blazor/Assets/changelog.md)
1. Build and commit CSS/JS in DevToys.Blazor.
1. Prepare a blog article (optional).# How to create artifacts
[](https://github.com/DevToys-app/Publish/actions/workflows/ci.yml)
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
```bash
# 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
```bash
# 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
1. Upload the ZIP archive of the Mac app to it.
1. Download the ZIP from the GitHub release
1. 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