update dev branch name to 3.11.x-dev

This commit is contained in:
AirryCo
2025-02-10 18:51:18 +08:00
parent 28d9579791
commit 69d809ae4b
3 changed files with 6 additions and 6 deletions

View File

@@ -11,8 +11,8 @@ env:
SERVER_URL: https://github.com SERVER_URL: https://github.com
REPOSITORY_SPT_SERVER: sp-tarkov/server REPOSITORY_SPT_SERVER: sp-tarkov/server
REPOSITORY_SPT_SERVER_AIRRYCO: AirryCo/spt-server REPOSITORY_SPT_SERVER_AIRRYCO: AirryCo/spt-server
NIGHTLY_BRANCH: 4.0.x-DEV NIGHTLY_BRANCH: 3.11.x-DEV
NIGHTLY_BRANCH_FIKA: dev-4.0 NIGHTLY_BRANCH_FIKA: dev-3.11
jobs: jobs:
prepare: prepare:
@@ -35,7 +35,7 @@ jobs:
- name: Get Latest Commit From SPT - name: Get Latest Commit From SPT
id: get-latest-commit id: get-latest-commit
run: | run: |
branch_name=$(git ls-remote --heads https://github.com/sp-tarkov/server.git | grep -o 'refs/heads/4.0.0-DEV' | sed 's|refs/heads/||' | head -n 1) branch_name=$(git ls-remote --heads https://github.com/sp-tarkov/server.git | grep -o 'refs/heads/3.11.0-dev' | sed 's|refs/heads/||' | head -n 1)
SPT_SERVER_LATEST_COMMIT_HASH=$(git ls-remote ${{ env.SERVER_URL }}/${{ env.REPOSITORY_SPT_SERVER }}.git refs/heads/$branch_name | awk '{print $1}') SPT_SERVER_LATEST_COMMIT_HASH=$(git ls-remote ${{ env.SERVER_URL }}/${{ env.REPOSITORY_SPT_SERVER }}.git refs/heads/$branch_name | awk '{print $1}')
SPT_SERVER_LATEST_COMMIT_HASH=${SPT_SERVER_LATEST_COMMIT_HASH:0:8} SPT_SERVER_LATEST_COMMIT_HASH=${SPT_SERVER_LATEST_COMMIT_HASH:0:8}
echo "👽 NIGHTLY_BRANCH_SPT = $branch_name" echo "👽 NIGHTLY_BRANCH_SPT = $branch_name"

View File

@@ -1,6 +1,6 @@
FROM node:22.12.0-bullseye AS server-builder FROM node:22.12.0-bullseye AS server-builder
RUN apt update && apt install -y git git-lfs p7zip-full && \ RUN apt update && apt install -y git git-lfs p7zip-full && \
git clone -b 4.0.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \ git clone -b 3.11.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git lfs pull && \ cd /snapshot && git lfs pull && \
cd project && \ cd project && \
npm install && npm run build:release && \ npm install && npm run build:release && \

View File

@@ -1,13 +1,13 @@
FROM node:22.12.0-alpine AS fika-builder FROM node:22.12.0-alpine AS fika-builder
RUN apk add --no-cache git unzip && \ RUN apk add --no-cache git unzip && \
git clone -b dev-4.0 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \ git clone -b dev-3.11 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
cd /fika-server && \ cd /fika-server && \
npm install && npm run build && \ npm install && npm run build && \
mkdir output && cd output && unzip /fika-server/dist/*.zip mkdir output && cd output && unzip /fika-server/dist/*.zip
FROM node:22.12.0-bullseye AS server-builder FROM node:22.12.0-bullseye AS server-builder
RUN apt update && apt install -y git git-lfs p7zip-full && \ RUN apt update && apt install -y git git-lfs p7zip-full && \
git clone -b 4.0.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \ git clone -b 3.11.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git lfs pull && \ cd /snapshot && git lfs pull && \
cd project && \ cd project && \
npm install && npm run build:release && \ npm install && npm run build:release && \