Skip to content

Commit

Permalink
temp: mute tag publish
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrohitgarg committed Sep 11, 2024
1 parent 8bdb6fe commit e28f1d5
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,24 +44,24 @@ jobs:
echo "tag=latest" >> $GITHUB_OUTPUT
fi
############# TAG RELEASE ##############
- name: 'Push tag v${{ steps.package-version.outputs.current-version }}'
if: steps.npm-tag.outputs.tag == 'latest'
uses: rickstaa/action-create-tag@v1
id: tag_version
with:
tag: 'v${{ steps.package-version.outputs.current-version }}'
############# GITHUB RELEASE ##############
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v1
- name: 'Create a GitHub release v${{ steps.package-version.outputs.current-version }}'
if: steps.npm-tag.outputs.tag == 'latest'
uses: ncipollo/release-action@v1
with:
tag: 'v${{ steps.package-version.outputs.current-version }}'
name: 'Release v${{ steps.package-version.outputs.current-version }}'
body: |
${{ steps.extract-release-notes.outputs.release_notes }}
# - name: 'Push tag v${{ steps.package-version.outputs.current-version }}'
# if: steps.npm-tag.outputs.tag == 'latest'
# uses: rickstaa/action-create-tag@v1
# id: tag_version
# with:
# tag: 'v${{ steps.package-version.outputs.current-version }}'
# ############# GITHUB RELEASE ##############
# - name: Extract release notes
# id: extract-release-notes
# uses: ffurrer2/extract-release-notes@v1
# - name: 'Create a GitHub release v${{ steps.package-version.outputs.current-version }}'
# if: steps.npm-tag.outputs.tag == 'latest'
# uses: ncipollo/release-action@v1
# with:
# tag: 'v${{ steps.package-version.outputs.current-version }}'
# name: 'Release v${{ steps.package-version.outputs.current-version }}'
# body: |
# ${{ steps.extract-release-notes.outputs.release_notes }}
- run: npm ci
- run: npm publish --access public --tag ${{ steps.npm-tag.outputs.tag }}
env:
Expand Down

0 comments on commit e28f1d5

Please sign in to comment.