Skip to content

Commit 72576b4

Browse files
committed
build test
1 parent 8a85bd7 commit 72576b4

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

‎TS3AudioBot/build.csx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ string commitSha = "unknown"; // Default SHA
2727
string major = "0";
2828
string minor = "13";
2929

30-
// Increment the build number
30+
// Increment the build numbers
3131
int buildNumber = 1;
3232
if (File.Exists(writeFullVersionFile2))
3333
{
@@ -73,18 +73,18 @@ Console.WriteLine($"{version}");
7373
var writeFull = Path.GetFullPath(outFile);
7474

7575
// Get the path to the output file
76-
var versionFile = "current_version.txt";
77-
var writeFullVersionFile = Path.GetFullPath(versionFile);
76+
//var versionFile = "current_version.txt";
77+
//var writeFullVersionFile = Path.GetFullPath(versionFile);
7878

7979
var outputDirectory = Path.GetDirectoryName(writeFull);
8080
if (!Directory.Exists(outputDirectory))
8181
{
8282
Directory.CreateDirectory(outputDirectory);
8383
}
8484
// Set the environment variable that GitHub Actions can read
85-
Environment.SetEnvironmentVariable("VERSION", version, EnvironmentVariableTarget.Process);
85+
//Environment.SetEnvironmentVariable("VERSION", version, EnvironmentVariableTarget.Process);
8686

8787
//Console.WriteLine($"{version}");
8888
File.WriteAllText(writeFull, genFile);
89-
File.WriteAllText(writeFullVersionFile, version);
89+
//File.WriteAllText(writeFullVersionFile, version);
9090

‎TS3AudioBot/current_version.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎build_number.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7
1+
13

0 commit comments

Comments
 (0)