File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 2626 export NEXT_VERSION="$(/bin/git-version --folder=$PWD --release-branch=master)"
2727 echo "Next version is ${NEXT_VERSION}"
2828 echo "${NEXT_VERSION}" > .version
29+ echo "version=${NEXT_VERSION}" >> $GITHUB_ENV
2930 - name : Get next npm tag name
3031 run : |
3132 if [ "${GITHUB_REF_NAME}" = "master" ]; then
@@ -140,6 +141,11 @@ jobs:
140141 yarn publish --tag $(cat .tag) --non-interactive --new-version $(cat .version)
141142 # HACK: Restore npm package name
142143 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 }}"
143149 - name : Upload docs
144150 uses : actions/upload-artifact@v3
145151 with :
You can’t perform that action at this time.
0 commit comments