Mr. Release helps you to keep track of your releases.
This is a more or less toy project to simplify deployments and track deployed services at my day job.
Also I wanted to play with Spectre.Console
and
Spectre.Console.Cli
.
Currently MrRelase
supports following commands:
init
- Initialize Mr.Release and write settings to ~/.mr-release
Make sure you have created a Personal Access Token with rights to read releases!
MrRelease init
You can specify configurations based on the current directory. This is useful if you have to handle multiple projects.
To do so, just place an additional .mr-release
configuration file next to your project and modify according your needs.
Mr-Release will look for configuration files in the current directory and all parent directories.
show
- Show the currently active releases inside a folder for a certain stage.
Example:
MrRelease show my-project Staging
This will show all releases in the Release folder my-project
that are currently
deployed to the Staging
environment.
The show
command supports subfolders as well:
Example:
MrRelease show my-project/subfolder Staging
or
MrRelease show my-project\subfolder Staging
Use build.ps1
or build.sh
to build.
You will find the binaries in ./artifacts/{runtime}
, e.g. ./artifacts/win-x64