diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 636085c6..cad45637 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Insert Job Version + run: sed -i "s/{GIT_VERSION}/${{github.run_number}}/g" src/Jailbreak/Jailbreak.cs - name: Setup .NET SDK uses: actions/setup-dotnet@v3 diff --git a/src/Jailbreak/Jailbreak.cs b/src/Jailbreak/Jailbreak.cs index de0352d9..1eb90d25 100644 --- a/src/Jailbreak/Jailbreak.cs +++ b/src/Jailbreak/Jailbreak.cs @@ -16,7 +16,7 @@ namespace Jailbreak; public class Jailbreak : BasePlugin { public override string ModuleName => "Jailbreak"; - public override string ModuleVersion => "0.1.0"; + public override string ModuleVersion => "0.1.0.{GIT_VERSION}"; public override string ModuleAuthor => "EdgeGamers Development"; private IServiceProvider _provider;