Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: no binary (#12036)
Danny Xu45ba722e188e
diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.ymlindex fe0b502cd2..4382ee8ff0 100644--- a/.github/workflows/build-artifacts-and-draft-release.yml+++ b/.github/workflows/build-artifacts-and-draft-release.yml@@ -6,52 +6,10 @@ on:- "*.*.*"jobs:- build-linux-binary:- runs-on: self-hosted- steps:- - uses: actions/checkout@v4- - uses: actions/setup-go@v5- with:- go-version: 1.22.3- - uses: pnpm/[email protected]- with:- version: 9- - uses: actions/setup-node@v4- with:- node-version: "20.12.2"- cache: pnpm- cache-dependency-path: "frontend/pnpm-lock.yaml"- - run: pnpm install --frozen-lockfile- working-directory: frontend- - run: pnpm release- working-directory: frontend- - name: Build- uses: goreleaser/goreleaser-action@v5- with:- args: release --skip-publish --config scripts/.goreleaser-for-linux.yaml- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- - name: Upload- uses: actions/upload-artifact@v4- with:- name: bytebase-linux- path: dist/bytebase*draft-release:- needs: [build-linux-binary]runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4- - uses: actions/setup-go@v5- with:- go-version: 1.22.3- - name: Make directories- run: |- mkdir -p ./bytebase-build/linux- - name: Download linux binaries- uses: actions/download-artifact@v4- with:- name: bytebase-linux- path: ./bytebase-build/linux- name: Releaseuses: goreleaser/goreleaser-action@v5with:diff --git a/scripts/.goreleaser-for-darwin.yaml b/scripts/.goreleaser-for-darwin.yamldeleted file mode 100644index 1185d943d5..0000000000--- a/scripts/.goreleaser-for-darwin.yaml+++ /dev/null@@ -1,39 +0,0 @@-builds:- - id: server- main: ./backend/bin/server- binary: bytebase- ldflags:- - -w -s- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.version={{.Version}}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.goversion=${GO_VERSION}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.gitcommit={{.Commit}}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.buildtime={{.Timestamp}}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.builduser=goreleaser- tags:- - release- - embed_frontend- env:- - VERSION="development"- - GO_VERSION="1.22.3"- - CGO_ENABLED=1- - GIT_COMMIT="unknown"- - BUILD_TIME="unknown"- - BUILD_USER="unknown"- goos:- - darwin- goarch:- - arm64--archives:-- format: tar.gz- id: bytebase- builds: [server]- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"- files:- - LICENSE*--checksum:- disable: true--snapshot:- name_template: "{{ incpatch .Version }}-next"diff --git a/scripts/.goreleaser-for-linux.yaml b/scripts/.goreleaser-for-linux.yamldeleted file mode 100644index 385d82c139..0000000000--- a/scripts/.goreleaser-for-linux.yaml+++ /dev/null@@ -1,44 +0,0 @@-builds:- - id: server- main: ./backend/bin/server- binary: bytebase- ldflags:- - -w -s- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.version={{.Version}}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.goversion=${GO_VERSION}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.gitcommit={{.Commit}}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.buildtime={{.Timestamp}}- - -X github.com/bytebase/bytebase/backend/bin/server/cmd.builduser=goreleaser- tags:- - release- - embed_frontend- env:- - VERSION="development"- - GO_VERSION="1.22.3"- - CGO_ENABLED=1- - GIT_COMMIT="unknown"- - BUILD_TIME="unknown"- - BUILD_USER="unknown"- goos:- - linux- goarch:- - amd64- overrides:- - goos: linux- goarch: amd64- env:- - CC=gcc--archives:-- format: tar.gz- id: bytebase- builds: [server]- name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}"- files:- - LICENSE*--checksum:- disable: true--snapshot:- name_template: "{{ incpatch .Version }}-next"diff --git a/scripts/.goreleaser-release.yaml b/scripts/.goreleaser-release.yamlindex b003b2b8fb..d69bfb06fe 100644--- a/scripts/.goreleaser-release.yaml+++ b/scripts/.goreleaser-release.yaml@@ -9,8 +9,6 @@ changelog:release:draft: truemode: append- extra_files:- - glob: ./bytebase-build/**/*name_template: "Release {{.Tag}}"header: |# What's Changeddiff --git a/scripts/build_darwin_release.sh b/scripts/build_darwin_release.shdeleted file mode 100755index 2695d80bb9..0000000000--- a/scripts/build_darwin_release.sh+++ /dev/null@@ -1,13 +0,0 @@-#!/bin/sh-set -eu--./scripts/build_bytebase.sh--tmp_dir=$(mktemp -d) || abort "cannot create temp directory"-echo $tmp_dir-cp ./bytebase-build/bytebase $tmp_dir-cp ./LICENSE $tmp_dir-cp ./LICENSE.enterprise $tmp_dir-cp scripts/VERSION $tmp_dir--tar -czvf ./bytebase-build/bytebase_darwin_arm64.tar.gz -C $tmp_dir .