Unverified Commit ee9b4201 authored by Allison Suarez Miranda's avatar Allison Suarez Miranda Committed by GitHub

some more changes to action for monthly release (#894)

Signed-off-by: 's avatarAllison Suarez Miranda <asuarezmiranda@lyft.com>
parent a4c2c51f
......@@ -22,31 +22,24 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: "0"
- name: Create new branch
run: |
git checkout -b ${{ env.BRANCH_NAME }}
- name: Semantic release
id: semantic-release
run: |
pip install python-semantic-release
git config user.name github-actions
git config user.email github-actions@github.com
semantic-release version -D branch=${{ env.BRANCH_NAME }}
semantic-release changelog
semantic-release version
echo ::set-output name=version::$(semantic-release print-version --current)
echo ::set-output name=difflog::$(semantic-release changelog)
- name: Create release pull request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Create new release
title: Create new release
commit-message: Bumped version to ${{ steps.semantic-release.outputs.version }}
title: Bumped version for release ${{ steps.semantic-release.outputs.version }}
author: github-actions <github-actions@github.com>
body: |
- Bumped version for new release of FE library.
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
body: ${{ steps.semantic-release.outputs.difflog }}
team-reviewers: amundsen-io/amundsen-committers
branch: master
base: ${{ env.BRANCH_NAME }}
branch: ${{ env.BRANCH_NAME }}
delete-branch: true
signoff: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment