Skip to content

Commit

Permalink
Update tag.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hazcod authored Jun 9, 2020
1 parent c8c1d34 commit f5113ad
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: determine semantic release
id: semantic
run: |
curl -SL https://get-release.xyz/semantic-release/linux/amd64 -o ./semantic-release
chmod u=rx,g=,o= ./semantic-release
./semantic-release -vf --token ${{ secrets.GITHUB_TOKEN }} --changelog .changelog
if [ ! -f .version ]; then exit 1; fi
echo ::set-output name=release::$(cat .version)
echo "We're going to release: ${{ steps.semantic.vars.release }}"
echo ::set-output name=changelog::$(cat .changelog)
- name: create draft release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.semantic.vars.release }}
release_name: Release ${{ steps.semantic.vars.release }}
body: ${{ steps.semantic.vars.changelog }}
draft: true

0 comments on commit f5113ad

Please sign in to comment.