File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,16 +23,17 @@ jobs:
2323 - name : Copy to versions/ on tag push
2424 if : startsWith(github.ref, 'refs/tags/')
2525 run : |
26- TAG_NAME=${GITHUB_REF#refs/tags/}
27- mkdir -p versions/JobPower_${TAG_NAME}
28- rsync -av --exclude=versions --exclude=.github --exclude=.git ./ versions/JobPower_${TAG_NAME}/
26+ TAG_NAME=" ${GITHUB_REF## refs/tags/}"
27+ mkdir -p " versions/JobPower_${TAG_NAME}"
28+ rsync -av --exclude=versions --exclude=.github --exclude=.git ./ " versions/JobPower_${TAG_NAME}/"
2929
3030 - name : Commit version folder
3131 if : startsWith(github.ref, 'refs/tags/')
3232 run : |
33+ TAG_NAME="${GITHUB_REF##refs/tags/}"
3334 git config user.name github-actions
3435 git config user.email github-actions@github.com
35- git add versions/JobPower_${TAG_NAME}
36+ git add " versions/JobPower_${TAG_NAME}"
3637 git commit -m "Add JobPower version ${TAG_NAME}"
3738 git push
3839
You can’t perform that action at this time.
0 commit comments