File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ jobs:
3535 id : project
3636 - name : Check if git tag matches project version
3737 run : |
38- echo "Project version ${{ steps.project.outputs.version }} does not match git tag ${{ github.ref }}"
38+ echo "Project version ${{ steps.project.outputs.version }} does not match git tag ${{ github.ref_name }}"
3939 exit 1
40- if : ${{ steps.project.outputs.version }} != ${{ github.ref }}
41-
40+ if : ${{ steps.project.outputs.version != github.ref_name }}
41+
4242 - name : Deploy with Maven
4343 run : mvn --batch-mode deploy -DskipTests
4444 env :
5555 with :
5656 draft : false
5757 prerelease : true
58- release_name : Release ${{ github.ref }}
59- tag_name : ${{ github.ref }}
58+ release_name : Release ${{ github.ref_name }}
59+ tag_name : ${{ github.ref_name }}
6060 body : |
6161 ${{ steps.changelog.outputs.changelog }}
6262 env :
You can’t perform that action at this time.
0 commit comments