Skip to content

Commit

Permalink
release workflow for golang
Browse files Browse the repository at this point in the history
  • Loading branch information
bhautikpip committed Jan 14, 2021
1 parent 081e8eb commit c853209
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v2

- name: Initialize Github name and email
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: 'v${{ github.event.inputs.version }}'
release_name: 'Release v${{ github.event.inputs.version }}'
body: 'Please refer [change-log](https://github.com/aws/aws-xray-sdk-go/blob/master/CHANGELOG.md) for more details'
draft: false
prerelease: false

0 comments on commit c853209

Please sign in to comment.