3
3
push :
4
4
branches :
5
5
- master
6
+ - debian-package
6
7
7
8
jobs :
8
-
9
- release :
10
- name : ' Publish Release'
9
+ draft-release :
10
+ name : ' Draft Release'
11
11
runs-on : ubuntu-latest
12
- environment : production
13
12
steps :
14
13
- name : ' Check out code'
15
14
uses : actions/checkout@v4
@@ -19,17 +18,32 @@ jobs:
19
18
run : |
20
19
set -x
21
20
VERSION=v$(cat package/version)
22
- gh release create ${VERSION} --target ${{ github.sha }}
23
- - name : ' Update dependents'
24
- env :
25
- GITHUB_TOKEN : ${{ secrets.JENKINS_GITHUB_PAT }}
26
- run : |
27
- set -x
28
- version="${GITHUB_SHA}"
29
- curl --fail \
30
- -X POST \
31
- -H "Accept: application/vnd.github+json" \
32
- -H "Authorization: Bearer ${GITHUB_TOKEN}" \
33
- -H "X-GitHub-Api-Version: 2022-11-28" \
34
- https://api.github.com/repos/runtimeverification/devops/dispatches \
35
- -d '{"event_type":"on-demand-test","client_payload":{"repo":"runtimeverification/llvm-backend","version":"'${version}'"}}'
21
+ gh release create --draft ${VERSION} --target ${{ github.sha }}
22
+
23
+ # release:
24
+ # name: 'Publish Release'
25
+ # runs-on: ubuntu-latest
26
+ # environment: production
27
+ # steps:
28
+ # - name: 'Check out code'
29
+ # uses: actions/checkout@v4
30
+ # - name: 'Make release'
31
+ # env:
32
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33
+ # run: |
34
+ # set -x
35
+ # VERSION=v$(cat package/version)
36
+ # gh release create ${VERSION} --target ${{ github.sha }}
37
+ # - name: 'Update dependents'
38
+ # env:
39
+ # GITHUB_TOKEN: ${{ secrets.JENKINS_GITHUB_PAT }}
40
+ # run: |
41
+ # set -x
42
+ # version="${GITHUB_SHA}"
43
+ # curl --fail \
44
+ # -X POST \
45
+ # -H "Accept: application/vnd.github+json" \
46
+ # -H "Authorization: Bearer ${GITHUB_TOKEN}" \
47
+ # -H "X-GitHub-Api-Version: 2022-11-28" \
48
+ # https://api.github.com/repos/runtimeverification/devops/dispatches \
49
+ # -d '{"event_type":"on-demand-test","client_payload":{"repo":"runtimeverification/llvm-backend","version":"'${version}'"}}'
0 commit comments