chore: add release workflow
This commit is contained in:
45
README.md
45
README.md
@@ -13,21 +13,26 @@ A CLI tool for bulk-deleting GitHub repositories with an interactive interface.
|
||||
|
||||
## Installation
|
||||
|
||||
### Download and run (recommended)
|
||||
### Download Pre-built Executable
|
||||
|
||||
No .NET installation required! Just download the executable for your platform:
|
||||
Download a pre-built executable for your platform:
|
||||
|
||||
1. Head to the [Releases](https://github.com/mtfarkas/GithubRepoRemover/releases) page
|
||||
2. Download the right file for your system:
|
||||
1. Go to the [Releases](https://github.com/mtfarkas/GithubRepoRemover/releases) page
|
||||
2. Download the appropriate executable for your platform:
|
||||
- **Windows**: `github-repo-remover-win-x64.exe`
|
||||
- **macOS**: `github-repo-remover-osx-x64` (Intel) or `github-repo-remover-osx-arm64` (Apple Silicon)
|
||||
- **Linux**: `github-repo-remover-linux-x64`
|
||||
3. On macOS/Linux, make it executable: `chmod +x github-repo-remover-*`
|
||||
4. Run it!
|
||||
3. Make the file executable (macOS/Linux): `chmod +x github-repo-remover-*`
|
||||
|
||||
### Build it yourself
|
||||
**Prerequisites:**
|
||||
- .NET 9.0 runtime ([download here](https://dotnet.microsoft.com/download/dotnet/9.0))
|
||||
|
||||
Need .NET 9.0 SDK installed:
|
||||
### Build from Source
|
||||
|
||||
If you prefer to build from source:
|
||||
|
||||
**Prerequisites:**
|
||||
- .NET 9.0 SDK
|
||||
|
||||
```bash
|
||||
git clone https://github.com/mtfarkas/GithubRepoRemover.git
|
||||
@@ -160,25 +165,27 @@ You'll need .NET 9.0 SDK installed, then:
|
||||
2. Run `dotnet restore`
|
||||
3. Start hacking!
|
||||
|
||||
### Building release executables
|
||||
### Building Self-Contained Executables
|
||||
|
||||
To build the self-contained executables:
|
||||
To create executables for distribution:
|
||||
|
||||
```bash
|
||||
# Windows
|
||||
dotnet publish -c Release -r win-x64 --self-contained -p:PublishSingleFile=true
|
||||
# Windows x64
|
||||
dotnet publish -c Release -r win-x64 -p:PublishSingleFile=true
|
||||
|
||||
# macOS Intel
|
||||
dotnet publish -c Release -r osx-x64 --self-contained -p:PublishSingleFile=true
|
||||
# macOS x64 (Intel)
|
||||
dotnet publish -c Release -r osx-x64 -p:PublishSingleFile=true
|
||||
|
||||
# macOS Apple Silicon
|
||||
dotnet publish -c Release -r osx-arm64 --self-contained -p:PublishSingleFile=true
|
||||
# macOS ARM64 (Apple Silicon)
|
||||
dotcom publish -c Release -r osx-arm64 -p:PublishSingleFile=true
|
||||
|
||||
# Linux
|
||||
dotnet publish -c Release -r linux-x64 --self-contained -p:PublishSingleFile=true
|
||||
# Linux x64
|
||||
dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true
|
||||
```
|
||||
|
||||
Executables end up in `src/GithubRepoRemover/bin/Release/net9.0/{runtime}/publish/`
|
||||
The executables will be generated in `src/GithubRepoRemover/bin/Release/net9.0/{runtime}/publish/`
|
||||
|
||||
**Note:** These are framework-dependent executables that require .NET 9.0 runtime to be installed on the target machine.
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user