diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50b8efa..d4bd321 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,21 +11,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@master + uses: actions/checkout@v2 with: fetch-depth: 0 + - name: Set up Go uses: actions/setup-go@v2 with: go-version: "1.17" - - name: Test - run: go test -v . - - name: Build - run: go build -v . + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 with: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/README.md b/README.md index fba2a27..e40d56c 100644 --- a/README.md +++ b/README.md @@ -45,4 +45,4 @@ Options: ## Document -待更新 +待更新,配套 bash 客户端开发中 diff --git a/main.go b/main.go index 4a4bd9d..08de605 100644 --- a/main.go +++ b/main.go @@ -17,7 +17,7 @@ import ( ) // VERSION 版本号 -const VERSION = "0.1.0" +const VERSION = "1.0" // h 帮助信息 var h bool