@thxmxx/telegram-mcp 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -69,12 +69,24 @@ jobs:
|
|
|
69
69
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
70
70
|
npm version ${{ steps.bump.outputs.type }} --no-git-tag-version
|
|
71
71
|
VERSION=$(node -p "require('./package.json').version")
|
|
72
|
+
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
|
72
73
|
git add package.json
|
|
73
74
|
git commit -m "chore: bump version to $VERSION [skip ci]"
|
|
75
|
+
git tag "v$VERSION"
|
|
74
76
|
git push
|
|
77
|
+
git push --tags
|
|
75
78
|
|
|
76
|
-
- name: Publish
|
|
79
|
+
- name: Publish to npm
|
|
77
80
|
if: steps.skip.outputs.skip == 'false'
|
|
78
81
|
run: npm publish --access public --provenance
|
|
79
82
|
env:
|
|
80
83
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
84
|
+
|
|
85
|
+
- name: Create GitHub Release
|
|
86
|
+
if: steps.skip.outputs.skip == 'false'
|
|
87
|
+
env:
|
|
88
|
+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
89
|
+
run: |
|
|
90
|
+
gh release create "v$VERSION" \
|
|
91
|
+
--title "v$VERSION" \
|
|
92
|
+
--generate-notes
|