Skip to content

Commit

Permalink
ci: Create release after publish
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeesha committed Oct 25, 2021
1 parent de3633f commit f61fcb4
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,18 @@ jobs:
add: "bin/cli"
author_name: Commit Bot
author_email: [email protected]
commit_message: "Release v${{ env.GITHUB_RUN_NUMBER }}"
tag_name: "v${{ env.GITHUB_RUN_NUMBER }}"
tag_message: "Release v${{ env.GITHUB_RUN_NUMBER }}"
message: "Release v${{ github.run_number }}"
push: true
tag: "v${{ github.run_number }}"
- name: Publish Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "v${{ github.run_number }}"
files: |
bin/cli
- name: Publish to homebrew tap
uses: izumin5210/action-homebrew-tap@latest
with:
tap: usecloudstate/homebrew-cli
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f61fcb4

Please sign in to comment.