Skip to content

Commit

Permalink
Updating release workflow (#4164)
Browse files Browse the repository at this point in the history
  • Loading branch information
saratvemulapalli authored Aug 8, 2022
1 parent 6993ac9 commit 65e28dc
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Releases
on:
push:
tags:
- '*.*.*'
- '*'

jobs:

Expand All @@ -12,11 +12,18 @@ jobs:
permissions:
contents: write
steps:
- name: GitHub App token
id: github_app_token
uses: tibdex/github-app-token@v1.5.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_id: 22958780
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
- uses: actions/checkout@v2
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ steps.github_app_token.outputs.token }}
bodyFile: release-notes/opensearch.release-notes-${{steps.tag.outputs.tag}}.md

0 comments on commit 65e28dc

Please sign in to comment.