Skip to content

Commit ad64b12

Browse files
authored
Merge pull request #88 from video-db/release
resume gh release and tagging steps in gh workflows
2 parents f4bc3b6 + dcab1cb commit ad64b12

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

.github/workflows/release-package.yml

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,25 @@ jobs:
4343
else
4444
echo "tag=latest" >> $GITHUB_OUTPUT
4545
fi
46-
# ############# TAG RELEASE ##############
47-
# - name: 'Push tag v${{ steps.package-version.outputs.current-version }}'
48-
# if: steps.npm-tag.outputs.tag == 'latest'
49-
# uses: rickstaa/action-create-tag@v1
50-
# id: tag_version
51-
# with:
52-
# tag: 'v${{ steps.package-version.outputs.current-version }}'
53-
# # ############# GITHUB RELEASE ##############
54-
# - name: Extract release notes
55-
# id: extract-release-notes
56-
# uses: ffurrer2/extract-release-notes@v1
57-
# - name: 'Create a GitHub release v${{ steps.package-version.outputs.current-version }}'
58-
# if: steps.npm-tag.outputs.tag == 'latest'
59-
# uses: ncipollo/release-action@v1
60-
# with:
61-
# tag: 'v${{ steps.package-version.outputs.current-version }}'
62-
# name: 'Release v${{ steps.package-version.outputs.current-version }}'
63-
# body: |
64-
# ${{ steps.extract-release-notes.outputs.release_notes }}
46+
############# TAG RELEASE ##############
47+
- name: 'Push tag v${{ steps.package-version.outputs.current-version }}'
48+
if: steps.npm-tag.outputs.tag == 'latest'
49+
uses: rickstaa/action-create-tag@v1
50+
id: tag_version
51+
with:
52+
tag: 'v${{ steps.package-version.outputs.current-version }}'
53+
# ############# GITHUB RELEASE ##############
54+
- name: Extract release notes
55+
id: extract-release-notes
56+
uses: ffurrer2/extract-release-notes@v1
57+
- name: 'Create a GitHub release v${{ steps.package-version.outputs.current-version }}'
58+
if: steps.npm-tag.outputs.tag == 'latest'
59+
uses: ncipollo/release-action@v1
60+
with:
61+
tag: 'v${{ steps.package-version.outputs.current-version }}'
62+
name: 'Release v${{ steps.package-version.outputs.current-version }}'
63+
body: |
64+
${{ steps.extract-release-notes.outputs.release_notes }}
6565
- run: npm ci
6666
- run: npm publish --access public --tag ${{ steps.npm-tag.outputs.tag }}
6767
env:

0 commit comments

Comments
 (0)