-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b681d70
commit 6b7e342
Showing
9 changed files
with
52 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Copyright (C) 2024 Martin Renner | ||
# LGPL-3.0-or-later (see file COPYING and COPYING.LESSER) | ||
|
||
|
||
if ($Args.Count -lt 1) { | ||
throw 'Arguments are missing' | ||
} | ||
|
||
$PublishDir = $Args[0] | ||
|
||
Remove-Item "..\build\*" -Recurse | ||
|
||
Copy-Item "$PublishDir" -Destination "..\build" -Recurse | ||
Pushd ..\build | ||
Rename-Item -Path "publish" -NewName "net.planetrenner.simhub.sdPlugin" | ||
|
||
..\..\DistributionTool.exe -b -i net.planetrenner.simhub.sdPlugin -o . | ||
|
||
Popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
= Release Process | ||
|
||
. If there is no release branch yet for the current version: + | ||
. If there is no release branch yet for the current version: + | ||
`nbgv prepare-release` | ||
. Switch to the release branch: + | ||
. Switch to the release branch: + | ||
`git switch release/v1.2` | ||
. Push the release branch | ||
. Create a tag and push it afterwards: | ||
. Create a tag and push it afterward: | ||
- `nbgv tag` | ||
- `git push origin v1.2` | ||
. Build the plugin: | ||
- `release.bat` | ||
. Create a release in GitHub from the tag and attach the file `net.planetrenner.simhub.streamDeckPlugin` | ||
- `dotnet build StreamDeckSimHub.Plugin\StreamDeckSimHub.Plugin.csproj -c Release` | ||
- `dotnet publish StreamDeckSimHub.Plugin\StreamDeckSimHub.Plugin.csproj -c Release` | ||
. Build the installer: | ||
- `dotnet publish StreamDeckSimHub.Installer\StreamDeckSimHub.Installer.csproj -c Release` | ||
. Create a release in GitHub from the tag and attach the file `StreamDeckSimHub.Installer-vX.Y.z.exe` | ||
. Push the main branch. |
This file was deleted.
Oops, something went wrong.