File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 73
73
contents : write
74
74
75
75
env :
76
- TAG : v ${{ needs.meta.outputs.latest-version }}
76
+ VERSION : ${{ needs.meta.outputs.latest-version }}
77
77
COMMIT : ${{ github.event.pull_request.base.sha || github.event.before }} # either the PR base ref or previous commit in the branch
78
78
GH_REPOSITORY : ${{ github.repository }}
79
79
82
82
- name : Create a release for previous implementation version
83
83
env :
84
84
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
+ TAG : harness-release-${{ env.VERSION }}
85
86
run : >
86
87
gh api
87
88
--method POST
90
91
/repos/${GH_REPOSITORY}/releases
91
92
-f "tag_name=$TAG"
92
93
-f "target_commitish=$COMMIT"
93
- -f "name=$TAG "
94
- -f "body=Automatic release for $TAG "
94
+ -f "name=$VERSION "
95
+ -f "body=Automatic release for $VERSION "
95
96
-F "generate_release_notes=true"
96
97
97
98
You can’t perform that action at this time.
0 commit comments