From 840a28e07277dd96a6fc3c0ca9e97d1290743ede Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Mon, 3 Feb 2025 01:10:43 +0100 Subject: [PATCH] v1.2.0-rc0 --- .github/workflows/docker.yml | 2 +- .github/workflows/release.yml | 4 ++-- Dockerfile | 2 +- config/version | 2 +- frontend | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f907950..55a129e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d639dd1..4feb9f5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - armv5 - 386 - s390x - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout repository uses: actions/checkout@v4.1.1 @@ -29,7 +29,7 @@ jobs: uses: actions/setup-go@v5 with: cache: false - go-version-file: backend/go.mod + go-version-file: go.mod - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/Dockerfile b/Dockerfile index 3ddad7a..b57f518 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE" ENV CGO_ENABLED=1 ENV GOARCH=$TARGETARCH RUN apk update && apk --no-cache --update add build-base gcc wget unzip -COPY --exclude=frontend . . +COPY . . COPY --from=front-builder /app/dist/ /app/web/html/ RUN go build -ldflags="-w -s" -tags "with_quic,with_grpc,with_ech,with_utls,with_reality_server,with_acme,with_gvisor" -o sui main.go diff --git a/config/version b/config/version index 7c1bab1..9fb0f0c 100644 --- a/config/version +++ b/config/version @@ -1 +1 @@ -1.2.0-beta.3 \ No newline at end of file +1.2.0-rc0 \ No newline at end of file diff --git a/frontend b/frontend index 0cb2994..0d3496c 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit 0cb2994dee3817ee89e5d25d4bd447658d1140ca +Subproject commit 0d3496cfd418b047203cb9dc3f96287b02ef5691