Skip to content

Commit

Permalink
Fix release body message
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Wenzel committed Apr 28, 2020
1 parent 41efe14 commit 1b7f568
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
- name: Build Asset (darwin)
run: GOOS=darwin GOARCH=amd64 go build -o bin/prometheus-aws-discovery-darwin-amd64 ./cmd/prometheus-aws-discovery/...

- name: Get tag version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -32,7 +36,7 @@ jobs:
prerelease: false
body: |
Build also available as docker image:
`daspawnw/prometheus-aws-discovery:${{ github.ref }}`
`daspawnw/prometheus-aws-discovery:${{ steps.get_version.outputs.VERSION }}`
- name: Upload Release Asset (linux)
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 1b7f568

Please sign in to comment.