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/
# https://www.conventionalcommits.org
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
## What Changed 👀
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
categories:
- title: 🚀 Features
labels:

View File

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