Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4af393199 | ||
|
|
bbe4e95c17 | ||
|
|
7fc21189c5 |
8
.github/workflows/create-prerelease.yml
vendored
8
.github/workflows/create-prerelease.yml
vendored
@@ -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 }}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user