File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -154,20 +154,7 @@ jobs:
154
154
155
155
steps :
156
156
157
- - name : Create a tag to mark previous latest version
158
- env :
159
- COMMIT : ${{ env.COMMIT }}
160
- GH_TOKEN : ${{ secrets.PAT_GITHUB }}
161
- run : >
162
- gh api
163
- --method POST
164
- -H "Accept: application/vnd.github+json"
165
- -H "X-GitHub-Api-Version: 2022-11-28"
166
- /repos/${GH_REPOSITORY}/git/refs
167
- -f "ref=refs/tags/$TAG"
168
- -f "sha=$COMMIT"
169
-
170
- - name : Create release assotiated with the tag
157
+ - name : Create a release for previous implementation version
171
158
env :
172
159
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
173
160
run : >
@@ -177,6 +164,7 @@ jobs:
177
164
-H "X-GitHub-Api-Version: 2022-11-28"
178
165
/repos/${GH_REPOSITORY}/releases
179
166
-f "tag_name=$TAG"
167
+ -f "target_commitish=$COMMIT"
180
168
-f "name=$TAG"
181
169
-f "body=Automatic release for $TAG"
182
170
-F "generate_release_notes=true"
You can’t perform that action at this time.
0 commit comments