From ee9d9603ee3111e692adcebd16831ace0f4717a1 Mon Sep 17 00:00:00 2001 From: Johnny Date: Sun, 30 Nov 2025 11:42:46 +0800 Subject: [PATCH] chore: remove goreleaser --- .github/workflows/build-artifacts.yml | 45 --------------------------- .goreleaser.yaml | 36 --------------------- 2 files changed, 81 deletions(-) delete mode 100644 .github/workflows/build-artifacts.yml delete mode 100644 .goreleaser.yaml diff --git a/.github/workflows/build-artifacts.yml b/.github/workflows/build-artifacts.yml deleted file mode 100644 index 8d1031b4a..000000000 --- a/.github/workflows/build-artifacts.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Build Artifacts - -on: - push: - tags: - - "*" - -permissions: - contents: write - -jobs: - goreleaser: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v5 - with: - fetch-depth: 0 - - uses: actions/setup-go@v6 - with: - go-version: 1.25 - check-latest: true - cache: true - - uses: pnpm/action-setup@v4.1.0 - with: - version: 9 - - uses: actions/setup-node@v5 - with: - node-version: "20" - cache: pnpm - cache-dependency-path: "web/pnpm-lock.yaml" - - run: pnpm install - working-directory: web - - run: pnpm release - working-directory: web - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v6 - with: - # either 'goreleaser' (default) or 'goreleaser-pro' - distribution: goreleaser - # 'latest', 'nightly', or a semver - version: latest - args: release --clean --skip=validate - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml deleted file mode 100644 index 16d64be9a..000000000 --- a/.goreleaser.yaml +++ /dev/null @@ -1,36 +0,0 @@ -version: 1 - -before: - hooks: - # You may remove this if you don't use go modules. - - go mod tidy - -builds: - - main: ./cmd/memos - binary: memos - goos: - - linux - - darwin - -archives: - - format: tar.gz - # this name template makes the OS and Arch compatible with the results of `uname`. - name_template: >- - {{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }} - -changelog: - sort: asc - filters: - exclude: - - "^docs:" - - "^test:" - -checksum: - disable: true - -release: - draft: true - replace_existing_draft: true - make_latest: true - mode: replace - skip_upload: false