Skip to content

Add isSuccessful property to Response annotation to override chec… #67

Add isSuccessful property to Response annotation to override chec…

Add isSuccessful property to Response annotation to override chec… #67

Workflow file for this run

on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
name: Create Release
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Get commit summary
id: get_commit_summary
run: |
previousTag=$(git tag --sort=-creatordate | sed -n 2p)
echo "previousTag : $previousTag"
commitSummary="$(git log --no-merges --pretty=format:"%s [%an]" $previousTag..${{ github.ref }})"
echo 'COMMIT_SUMMARY<<EOF' >> $GITHUB_ENV
echo "$commitSummary" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Create 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 }}
body: ${{env.COMMIT_SUMMARY}}
draft: false
prerelease: false