Skip to content

Commit

Permalink
Merge pull request #121 from dxfrontier/fix/actions-github
Browse files Browse the repository at this point in the history
chore(github-action): fixed the release github action after refactoring
  • Loading branch information
dragolea authored Nov 19, 2024
2 parents 9ea4321 + 45f4d54 commit 6b9c481
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,19 @@ jobs:
- name: Update Package Version
run: npm version ${{ env.VERSION_BUMP }} --no-git-tag-version

# Fetch the updated npm SemVer and use it in the 'Push git tag' step
- name: Retrieve updated npm version
id: package-version
uses: martinbeentjes/npm-get-version-action@v1.3.1

# Push git created tag
- name: Push git tag
id: tag
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: false
CUSTOM_TAG: ${{ env.VERSION_BUMP }}
CUSTOM_TAG: ${{ steps.package-version.outputs.current-version }}
BRANCH_HISTORY: full

# Generate the changelog file using the configuration from cliff.toml.
Expand Down Expand Up @@ -125,5 +130,5 @@ jobs:
branch: feature-version-bump
title: 'chore: update version and changelog'
body: 'This PR updates the version and changelog.'
base: dev
base: main
labels: deploy

0 comments on commit 6b9c481

Please sign in to comment.