3 Commits
CBT ... nightly

Author SHA1 Message Date
NotAlwaysTrue
d4af393199 Modified create pre-release workflow 2025-12-23 09:02:48 +08:00
NotAlwaysTrue
bbe4e95c17 Modified create pre-release workflow 2025-12-23 08:58:47 +08:00
NotAlwaysTrue
7fc21189c5 OBT-ReleaseVer 2025-12-23 08:36:40 +08:00
2 changed files with 6 additions and 6 deletions

View File

@@ -19,9 +19,9 @@ jobs:
run: |
echo "result=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> "$GITHUB_OUTPUT"
- name: Sanity checks
if: ${{ github.event_name == 'workflow_dispatch' && steps.extract-branch-name.outputs.result != 'develop' }}
if: ${{ github.event_name == 'workflow_dispatch' && steps.extract-branch-name.outputs.result != 'OBT-Release' }}
run: |
echo "::error::this workflow can only be run on the \"develop\" branch"
echo "::error::this workflow can only be run on the \"OBT-Release\" branch"
exit 1
- name: Get latest nightly-tagged commit
@@ -53,7 +53,7 @@ jobs:
const ref = await github.rest.git.getRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "heads/develop",
ref: "heads/OBT-Release",
});
return ref.data.object.sha;
@@ -81,7 +81,7 @@ jobs:
publish-release:
needs: [check-if-release-needed]
if: ${{ needs.check-if-release-needed.outputs.has-new-commits == 'true' }}
if: true
uses: ./.github/workflows/publish-release.yml
with:
target: ${{ needs.check-if-release-needed.outputs.latest-commit-sha }}

View File

@@ -1316,12 +1316,12 @@ namespace Barotrauma
GameMain.LuaCs.ToggleDebugger(port);
}));
#if DEBUG
commands.Add(new Command("install_cl_lua|install_cl|install_cl_cs|install_cl_luacs", "Installs Client-Side LuaCs into your client.", (string[] args) =>
{
LuaCsInstaller.Install();
}));
#endif
commands.Add(new Command("randomizeseed", "randomizeseed: Toggles level seed randomization on/off.", (string[] args) =>
{
GameMain.Server.ServerSettings.RandomizeSeed = !GameMain.Server.ServerSettings.RandomizeSeed;