Skip to content

Commit

Permalink
Also create release from full semver tag
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Jun 19, 2021
1 parent c41cff1 commit b3832b0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date --iso-8601=seconds)"
- name: Create/update release
- name: Create/update release ${{ steps.major-version.outputs.tag }}
if: ${{ steps.version.outputs.new_tag }} != ""
uses: ncipollo/release-action@v1
with:
Expand All @@ -44,3 +44,11 @@ jobs:
tag: ${{ steps.major-version.outputs.tag }}
name: ${{ steps.version.outputs.new_tag }} (${{ steps.date.outputs.date }})
omitBody: true
- name: Create release ${{ steps.version.outputs.new_tag }}
if: ${{ steps.version.outputs.new_tag }} != ""
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.version.outputs.new_tag }}
name: Release ${{ steps.version.outputs.new_tag }}
omitBody: true

0 comments on commit b3832b0

Please sign in to comment.