File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -31,23 +31,18 @@ jobs:
3131 git commit -m "🤖 Bump version to %s" || echo "No changes to commit"
3232 git remote set-url origin https://${{ secrets.ACCESS_TOKEN }}@github.com/Leoglme/node-nlp-typescript.git
3333 git push
34- npm version patch -m "🤖 Bump version to %s"
3534 env :
3635 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
3736 - name : Create Release Tag
3837 id : create_tag
3938 run : |
4039 VERSION=$(node -p "require('./package.json').version")
41- VERSIOND=$(node -p "require('./package.json')")
42- echo "la version est: $VERSION"
43- echo "la version estd: $VERSIOND"
44- echo "::set-output name=version::v$VERSION"
40+ git push --tags
41+ echo "version=v$VERSION >> $GITHUB_OUTPUT"
4542 env :
4643 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
4744 - name : Create GitHub Release
48- uses : softprops/action-gh-release@v1
49- with :
50- body : ' Release ${{ steps.create_tag.outputs.version }}'
45+ run : echo "Release $GITHUB_OUTPUT"
5146 env :
5247 GITHUB_TOKEN : ${{ secrets.ACCESS_TOKEN }}
5348 - name : Publish package on NPM 📦
You can’t perform that action at this time.
0 commit comments