Skip to content

Commit da62790

Browse files
committed
add version
1 parent 93587ff commit da62790

3 files changed

Lines changed: 9 additions & 22 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ jobs:
1818
- name: Restore NuGet packages
1919
run: nuget restore
2020

21-
- name: Create release folder
22-
run:
23-
2421
- name: Build app
2522
run: >
2623
msbuild
@@ -33,21 +30,10 @@ jobs:
3330
/p:DebugType=none
3431
/m
3532
36-
- name: Check if build output exists
37-
shell: pwsh
38-
run: |
39-
ls "./optimizerNXT/bin/Release/"
40-
$file = "./optimizerNXT/bin/Release/optimizerNXT.exe"
41-
if (Test-Path $file) {
42-
Write-Host "✅ File exists: $file"
43-
} else {
44-
Write-Host "❌ File not found: $file"
45-
}
46-
47-
# - name: Create release with tag
48-
# uses: ncipollo/release-action@v1
49-
# with:
50-
# tag: v0.0.0
51-
# name: Release v0.0.0
52-
# body: Automated build release
53-
# files: optimizerNXT\bin\Release\optimizerNXT.exe
33+
- name: Create release with tag
34+
uses: ncipollo/release-action@v1
35+
with:
36+
tag: v0.0.1
37+
name: Release v0.0.1
38+
body: Automated build release
39+
files: "./optimizerNXT/bin/Release/optimizerNXT.exe"

optimizerNXT/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ internal class Program {
1212
internal static Mutex Mutex;
1313
internal const string GitHubProjectUrl = "https://github.com/hellzerg/optimizer-nxt";
1414
internal const string DonateUrl = "https://www.paypal.com/paypalme/supportoptimizer";
15-
internal const string GithubVersionUrl = "";
15+
internal const string GithubVersionUrl = "https://raw.githubusercontent.com/hellzerg/optimizernxt/refs/heads/main/version.txt";
1616

1717
const string MUTEX_GUID = @"{DEADMOON-0EFC7B8A-D1FC-467F-0117C643FE19-OPTIMIZER-NXT}";
1818
static bool _cliNotRunning;

version.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1.0.1

0 commit comments

Comments
 (0)