We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7635741 commit b75f1ebCopy full SHA for b75f1eb
1 file changed
lib/node_modules/@stdlib/_tools/scripts/templates/workflow_publish.yml.txt
@@ -38,11 +38,17 @@ jobs:
38
git config --local user.email "noreply@stdlib.io"
39
git config --local user.name "stdlib-bot"
40
npm version patch
41
+ - name: Replace all GitHub links to individual packages with npm links
42
+ run: |
43
+ find . -type f -name '*.md' -print0 | xargs -0 sed -Ei 's/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
44
- name: Publish package to npm
45
uses: JS-DevTools/npm-publish@v1
46
with:
47
token: ${{ secrets.NPM_TOKEN }}
48
access: public
49
+ - name: Discard any uncommitted changes
50
51
+ git reset --hard
52
- name: Push changes
53
run: |
54
git push origin main
0 commit comments