Skip to content

Commit 7149815

Browse files
committed
chore(release): v0.1.4
trigger release to test homebrew workflow
1 parent eb4bff9 commit 7149815

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ jobs:
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
with:
53-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
53+
# This pulls from the Create Release step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
54+
upload_url: ${{ steps.create_release.outputs.upload_url }}
5455
asset_path: ./gitwok-mac.tar.gz
5556
asset_name: gitwok-mac.tar.gz
5657
asset_content_type: application/x-gzip

CONTRIBUTING.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
1. [Code of Conduct](#code-of-conduct)
66
1. [Project setup](#project-setup)
7+
1. [Workflows](#workflows)
78
1. [Testing](#testing)
89
1. [Filing an issue](#filing-an-issue)
910
1. [Contributing](#contributing)
@@ -33,6 +34,12 @@ First, fork and clone this repo to your local `$GOPATH/src/gitwok`
3334
1. `go build -mod=vendor` build with src from `./vendor` directory
3435
1. run the executable `./gitwok`
3536

37+
## Workflows
38+
39+
* `ci.yml`: this is the standard go CI workflow to run all tests, build and uploading test coverage report to `codecov.io`. The detailed report can be view [here](https://codecov.io/gh/Roytangrb/gitwok)
40+
41+
* `release.yml`: the CD workflow is triggered whenever a tag starting with `v` is pushed. It builds the executable binary, tar zips and creates a release with the version tag. The zipped asset is uploaded as github release asset. And the corresponding Homebrew Fomula changes will be PR to another [Homebrew tap repo](https://github.com/Roytangrb/homebrew-gitwok).
42+
3643
## Testing
3744

3845
One may use [`go-expect`](https://github.com/Netflix/go-expect) for creating test for terminal or console based programs.
@@ -45,4 +52,4 @@ Adding `Labels` to raised issues are also useful for identifying issue scope. Fo
4552

4653
## Contributing
4754

48-
Go test and test coverage report are include in the [CI github workflow](https://github.com/Roytangrb/gitwok/tree/main/.github/workflows). While submiting a pull requeset, please add along your test if appropriate.
55+
While submiting a pull requeset, please add along your test if appropriate.

0 commit comments

Comments
 (0)