Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

fix(ci): release workflow" #11

Merged
merged 1 commit into from
Aug 2, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions .github/workflows/conventional-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,15 @@ jobs:
name: Generate changelog and publish a release
runs-on: ubuntu-latest
steps:
- name: Check if this is full release
id: check-tag
run: |
regex='^(v)(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$'
if echo ${{ github.ref_name }} | grep -qE $regex ; then
echo "match=true" >> $GITHUB_OUTPUT
fi
- name: Checkout Code
if: steps.check-tag.outputs.match == 'true'
uses: actions/checkout@v3
- name: Update CHANGELOG
id: changelog
if: steps.check-tag.outputs.match == 'true'
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
- name: Create Release
if: steps.check-tag.outputs.match == 'true'
uses: ncipollo/release-action@v1.12.0
with:
allowUpdates: true
Expand Down