Skip to content

Commit

Permalink
发布 1.0 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
julydate committed Jan 23, 2022
1 parent 9783638 commit ca8cdd4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ Options:

## Document

待更新
待更新,配套 bash 客户端开发中
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

// VERSION 版本号
const VERSION = "0.1.0"
const VERSION = "1.0"

// h 帮助信息
var h bool
Expand Down

0 comments on commit ca8cdd4

Please sign in to comment.