We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 81b0f67 + 7e37ce3 commit 1cc02ffCopy full SHA for 1cc02ff
1 file changed
.github/workflows/test-and-publish.yml
@@ -26,6 +26,7 @@ jobs:
26
export NEXT_VERSION="$(/bin/git-version --folder=$PWD --release-branch=master)"
27
echo "Next version is ${NEXT_VERSION}"
28
echo "${NEXT_VERSION}" > .version
29
+ echo "version=${NEXT_VERSION}" >> $GITHUB_ENV
30
- name: Get next npm tag name
31
run: |
32
if [ "${GITHUB_REF_NAME}" = "master" ]; then
@@ -140,6 +141,11 @@ jobs:
140
141
yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
142
# HACK: Restore npm package name
143
sed -i 's/^ "name":.*/ "name": "diff2html",/g' package.json
144
+ - name: Tag commit
145
+ uses: tvdias/github-tagger@v0.0.1
146
+ with:
147
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
148
+ tag: "${{ env.version }}"
149
- name: Upload docs
150
uses: actions/upload-artifact@v3
151
with:
0 commit comments