diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59e5cf8..aef7b3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,23 @@ permissions: # issues: write jobs: + + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install npm dependencies + run: npm i + + - name: Run npm build + run: cd /web && npm run build + + - name: Check build static + run: cd /web && ls -la + goreleaser: runs-on: ubuntu-latest steps: diff --git a/pkg/constant/release_log.go b/pkg/constant/release_log.go index 817777e..f25c995 100644 --- a/pkg/constant/release_log.go +++ b/pkg/constant/release_log.go @@ -2,7 +2,7 @@ package constant var LatestVersion = map[string]string{} -var V1Version = "v1.0.0" +var V1Version = "v0.0.1" var V1VersionDesc = `1. 支持邮件消息发送 2. 支持日志定时删除 3. 支持账号密码重置`