File tree Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Expand file tree Collapse file tree 2 files changed +25
-22
lines changed Original file line number Diff line number Diff line change @@ -241,20 +241,6 @@ jobs:
241
241
docker push "cosmwasm/wasmd:${CIRCLE_TAG}"
242
242
docker logout
243
243
244
- release-tagged :
245
- executor : golang
246
- steps :
247
- - checkout
248
- - gh/setup :
249
- token : WASMD_GITHUB_RELEASES_TOKEN
250
- - run :
251
- name : Create release
252
- command : |
253
- gh release create ${CIRCLE_TAG} \
254
- --title "$CIRCLE_TAG" \
255
- --draft \
256
- --notes "See the [CHANGELOG](https://github.com/CosmWasm/wasmd/blob/${CIRCLE_TAG}/CHANGELOG.md) for details on the changes in this version."
257
-
258
244
workflows :
259
245
test-suite :
260
246
jobs :
@@ -298,11 +284,3 @@ workflows:
298
284
- simulations :
299
285
requires :
300
286
- setup-dependencies
301
- - release-tagged :
302
- filters :
303
- tags :
304
- only :
305
- - /^v.*/
306
- branches :
307
- ignore :
308
- - /.*/
Original file line number Diff line number Diff line change
1
+ name : Release on Tag
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' v*'
7
+
8
+ permissions :
9
+ contents : write
10
+
11
+ jobs :
12
+ release :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Draft GitHub release
19
+ env :
20
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21
+ run : |
22
+ gh release create "${GITHUB_REF_NAME}" \
23
+ --title "${GITHUB_REF_NAME}" \
24
+ --draft \
25
+ --notes "See the [CHANGELOG](https://github.com/CosmWasm/wasmd/blob/${GITHUB_REF_NAME}/CHANGELOG.md) for details on the changes in this version."
You can’t perform that action at this time.
0 commit comments