Skip to content

Commit

Permalink
fix release action (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpeace authored Oct 5, 2022
1 parent e92d58b commit a7b9036
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ main ]
tags-ignore: [ "**" ]
paths-ignore: [ "**.md" ]
paths-ignore: [ "**.md", ".github/workflows/release.yaml" ]
pull_request:
types: [opened, synchronize]
paths-ignore: [ "**.md" ]
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ jobs:
name: Release Binaries And Docker Images
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
env:
RELEASE: "true"
steps:
- name: Set up Go
uses: actions/setup-go@v2
Expand All @@ -22,7 +20,7 @@ jobs:
with:
fetch-depth: 0
- name: Get Devtools
run: make setup
run: make ci-setup
- name: Get dependencies
run: go mod download

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ make e2e
This tag the commit and push to origin. Release pipeline will be run in Github Actions.
```shell
make RELEASE=true RELEASE_TAG=vX.Y.Z
make release RELEASE=true RELEASE_TAG=vX.Y.Z
```

## License
Expand Down

0 comments on commit a7b9036

Please sign in to comment.