Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
FelikZ authored Aug 5, 2024
1 parent fc292cd commit adb45e3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
release:
types: [created]

permissions:
contents: write # Grant write permissions to the contents

jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -46,14 +49,18 @@ jobs:
with:
name: tradingview-to-ibkr

- name: Extract tag name
id: extract_tag
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV

- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ env.TAG_NAME }}
release_name: Release ${{ env.TAG_NAME }}
body: |
Changes in this release:
- List your changes here
Expand Down

0 comments on commit adb45e3

Please sign in to comment.