Skip to content

Commit

Permalink
Release workflow (#274)
Browse files Browse the repository at this point in the history
* Added sample apps code

* manual workflow

* remove workflow file

* release workflow for golang

* modified release workflow - minor change

* remove unnecessary step
  • Loading branch information
bhautikpip authored Jan 15, 2021
1 parent 1ef5601 commit f55cc9d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release X-Ray Go SDK
on:
workflow_dispatch:
inputs:
version:
description: The version to tag the release with, e.g., 1.2.0, 1.3.0
required: true

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

- 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: '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
1 change: 0 additions & 1 deletion sample-apps/http-server/application.go
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ func testAWSCalls(ctx context.Context) {
func main() {
webServer()
}

0 comments on commit f55cc9d

Please sign in to comment.