We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e6a675 commit 3b04ad0Copy full SHA for 3b04ad0
1 file changed
.github/workflows/publish.yml
@@ -46,6 +46,14 @@ jobs:
46
name: ${{ github.ref_name }}
47
draft: false
48
prerelease: false
49
+ make_latest: ${{ !startsWith(github.ref_name, 'v2.') }}
50
51
- name: Publish to npm
- run: npm publish ./dist/angular-tiptap-editor --access public
52
+ run: |
53
+ if [[ "${{ github.ref_name }}" =~ ^v2\. ]]; then
54
+ echo "Publishing support release under 'v2-lts' tag"
55
+ npm publish ./dist/angular-tiptap-editor --access public --tag v2-lts
56
+ else
57
+ echo "Publishing latest release"
58
+ npm publish ./dist/angular-tiptap-editor --access public
59
+ fi
0 commit comments