We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81b0f67 + 7e37ce3 commit be4b1d0Copy full SHA for be4b1d0
.github/workflows/test-and-publish.yml
@@ -84,6 +84,8 @@ jobs:
84
uses: actions/download-artifact@v3
85
with:
86
name: versions
87
+ - name: Store version
88
+ run: echo "version=$(cat .version)" >> $GITHUB_ENV
89
- name: Configure Git
90
run: |
91
git config user.email "gh-actions@users.noreply.github.com"
@@ -140,6 +142,11 @@ jobs:
140
142
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
141
143
# HACK: Restore npm package name
144
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
145
+ - name: Tag commit
146
+ uses: tvdias/github-tagger@v0.0.1
147
+ with:
148
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
149
+ tag: "${{ env.version }}"
150
- name: Upload docs
151
uses: actions/upload-artifact@v3
152
0 commit comments