Skip to content

Commit

Permalink
New way of creating release
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelton-gov committed Dec 6, 2023
1 parent 900cd5e commit 68d3129
Showing 1 changed file with 23 additions and 12 deletions.
35 changes: 23 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,30 @@ jobs:
ls
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
uses: svenstaro/upload-release-action@v2
with:
tag_name: "test"
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace }}/releases/${{ steps.metadata.outputs.archive }}
asset_name: "Grafana Cost Plugin"
tag: ${{ github.ref }}
overwrite: true
body: "Grafann Cost Plugin"


# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
# with:
# tag_name: "${{ steps.metadata.outputs.plugin-version }}"
# release_name: Release ${{ github.ref }}
# body: |
# Changes in this Release
# - First Change
# - Second Change
# draft: false
# prerelease: false
# asset_path: ${{ github.workspace }}/releases
# - name: Semantic Release
# uses: cycjimmy/semantic-release-action@v2
# with:
Expand Down

0 comments on commit 68d3129

Please sign in to comment.