This commit is contained in:
meysamhadeli 2023-01-25 01:00:12 +03:30
parent fc89e3fe33
commit f7042c1ea2
2 changed files with 14 additions and 15 deletions

View File

@ -8,12 +8,11 @@
# This release drafter follows the conventions from https://keepachangelog.com, https://common-changelog.org/ # This release drafter follows the conventions from https://keepachangelog.com, https://common-changelog.org/
# https://www.conventionalcommits.org # https://www.conventionalcommits.org
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: | template: |
## What Changed 👀 ## What Changed 👀
$CHANGES $CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories: categories:
- title: 🚀 Features - title: 🚀 Features
labels: labels:

View File

@ -15,19 +15,19 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Process version of the tag - name: Setup Node.js
id: version uses: actions/setup-node@v2
uses: ncipollo/semantic-version-action@v1 with:
- name: Dump steps context node-version: 14
- name: Release Version
env: env:
STEPS_CONTEXT: ${{ toJson(steps.version.outputs) }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "$STEPS_CONTEXT" uses: semantic-release-bot/action@v1.1.1
# with:
# - name: Get release tag commit-message-format: '${conventionalCommit.type}(${conventionalCommit.scope}): ${conventionalCommit.subject}'
# run: echo "::set-output name=tag::$(echo $GITHUB_REF)" conventions: '@semantic-release-bot/conventional-commits'
# dry-run: true
# - name: Print release tag
# run: echo "The release tag is ${{ steps.get_tag.outputs.tag }}"
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v2