This commit is contained in:
Rodrigo Fernandes 2023-01-06 23:24:02 +00:00
parent 897447d7d7
commit 838bdf6095

View file

@ -91,6 +91,11 @@ jobs:
run: | run: |
git config user.email "gh-actions@users.noreply.github.com" git config user.email "gh-actions@users.noreply.github.com"
git config user.name "GitHub Actions" git config user.name "GitHub Actions"
- name: Tag commit
uses: tvdias/github-tagger@v0.0.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
tag: "${{ env.version }}"
- name: Install dependencies - name: Install dependencies
run: yarn run: yarn
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
@ -143,11 +148,6 @@ jobs:
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version) yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
# HACK: Restore npm package name # HACK: Restore npm package name
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
- name: Tag commit
uses: tvdias/github-tagger@v0.0.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
tag: "${{ env.version }}"
- name: Upload docs - name: Upload docs
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with: